Salesforce Developer Mock Test
Salesforce Platform Developer I — Free Practice Exam
Progress: 0 / 50 answered
Scroll down & click Submit when done
1
Which annotation is used to expose an Apex method as a REST web service?
2
What is the maximum number of SOQL queries allowed in a synchronous Apex transaction?
3
Which keyword is used to share data between Apex classes in the same transaction?
4
In a Lightning Web Component, how do you decorate a property so it is reactive and reflected in the template?
5
Which Apex exception type is thrown when a DML operation fails a validation rule?
6
What does the Apex Test.startTest() method do?
7
Which SOQL clause is used to aggregate records and filter the aggregated results?
8
Which trigger context variable returns the IDs of the records being processed?
9
In LWC, which decorator is used to expose a property to the parent component?
10
What is the best practice to avoid SOQL queries inside for-loops?
11
Which method is used to perform a partial DML operation that does not throw an exception on failure?
12
Which Salesforce feature allows you to call an Apex method from a Flow?
13
What is SOSL primarily used for?
14
Which Apex class is used to schedule Apex jobs to run at a specified time?
15
In LWC, how do you call an Apex method using the wire service?
16
What is the maximum heap size for a synchronous Apex transaction?
17
Which trigger event fires after a record is permanently deleted?
18
What does the @AuraEnabled(cacheable=true) annotation enable in LWC?
19
Which interface must be implemented to process records in an Apex Batch class?
20
In Visualforce, how do you reference a controller method that returns data to the page?
21
Which Salesforce tool is used to retrieve and deploy metadata between orgs?
22
What is the correct way to dispatch a custom event in LWC?
23
Which governor limit applies to the total number of DML statements in a single transaction?
24
In Apex, what is the use of the 'with sharing' keyword?
25
Which method in the Batchable interface is called once after all batches have processed?
26
What is the purpose of the Schema.SObjectType class in Apex?
27
Which platform event characteristic ensures that a subscriber does not miss events?
28
In LWC, which lifecycle hook is equivalent to the Aura component's init handler?
29
What is the maximum number of records that can be processed in a single Apex Batch execute() call by default?
30
Which HTTP method should a RESTful Apex endpoint use to retrieve a resource?
31
What does the Apex keyword 'transient' do in a Visualforce controller?
32
Which Salesforce DX concept represents a version-controlled, source-of-truth project structure?
33
What is required in every Apex test class?
34
Which method is used to upsert a record using an external ID field?
35
Which element is used in LWC HTML templates to conditionally render elements without creating a DOM node?
36
Which Apex class enables HTTP callouts to external services?
37
In Apex triggers, when is Trigger.old NOT available?
38
What is the purpose of Named Credentials in Salesforce?
39
Which method must be used to mock an HTTP callout in Apex tests?
40
What does the Salesforce Lightning Data Service (LDS) provide in LWC?
41
Which SOQL keyword retrieves child records along with parent records in a single query?
42
What is a Salesforce scratch org primarily used for?
43
In the Apex order of execution, when do before-triggers fire relative to validation rules?
44
Which method of Test class is used to verify that a specific exception was thrown?
45
What is the purpose of the @future annotation in Apex?
46
Which LWC base component is used to display a data table with rows and columns?
47
What is the Apex Collections limit for a single list in terms of number of elements?
48
Which interface should be implemented for a class to be passed as a parameter to System.enqueueJob()?
49
In SOQL, what does the FOR UPDATE clause do?
50
What is the minimum code coverage percentage required to deploy Apex code to a production org?
Answered 0 of 50 questions. You can submit at any time.