Platform developer 1 Dumps

Salesforce Platform Developer 1 certification questions.

1. What is a good practice for a developer to follow when writing a trigger? Choose 2 answers.
A. Using the Map data structure to hold query results by ID.
B. Using @future methods to perform DML operations.
C. Using the set data structure to ensure distinct records.
D. Using asynchronous callouts to call external systems.

2. Which code block returns the ListView of an Account object using the following debug statement?
A. ApexPages.StandardSetController controller = new ApexPages.StandardSetController([ SELECT Id from Account LIMIT 1]);
B. ApexPages.StandardController controller = new ApexPages.StandardController(Database.queryLocator(‘SELECT Id from Account LIMIT 1’));
C. ApexPages.StandardController controller = new ApexPages.StandardController([ SELECT Id from Account LIMIT 1]);
D. ApexPages.StandardSetController controller = new ApexPages.StandardSetController(Database.queryLocator(‘SELECT Id from Account LIMIT 1’));

3. Which data type of collection of data types can SOQL statements populate or evaluate to? Choose 3 answers.
A. A Boolean
B. An Integer
C. A list of sObjects
D. A single sObject
E. A String



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s