Salesforce Certified Platform Developer Exam
Certified Platform Developer (Page 9 )

Updated On: 30-Jan-2026

Which SOQL query successfully returns the Accounts grouped by name?

  1. SELECT Type, Max(CreatedDate) FROM Account GROUP BY Name
  2. SELECT Name, Max(CreatedDate) FROM Account GROUP BY Name
  3. SELECT Id, Type, Max(CreatedDate) FROM Account GROUP BY Name
  4. SELECT Type, Name, Max(CreatedDate) FROM Account GROUP BY Name LIMIT 5

Answer(s): B



Which approach should a developer use to add pagination to a Visualforce page?

  1. A StandardController
  2. The Action attribute for a page
  3. The extensions attribute for a page
  4. A StandardSetController

Answer(s): D



A developer wants to override a button using Visualforce on an object.
What is the requirement?

  1. The controller or extension must have a PageReference method.
  2. The standardController attribute must be set to the object.
  3. The action attribute must be set to a controller method.
  4. The object record must be instantiated in a controller or extension.

Answer(s): B



Which statement results in an Apex compiler error?

  1. Map<Id,Leas> lmap = new Map<Id,Lead>([Select ID from Lead Limit 8]);
  2. Date d1 = Date.Today(), d2 = Date.ValueOf(`2018-01-01');
  3. Integer a=5, b=6, c, d = 7;
  4. List<string> s = List<string>{`a',`b',`c');

Answer(s): D



A newly hired developer discovers that there are multiple triggers on the case object.
What should the developer consider when working with triggers?

  1. Developers must dictate the order of trigger execution.
  2. Trigger execution order is based on creation date and time.
  3. Unit tests must specify the trigger being tested.
  4. Trigger execution order is not guaranteed for the same sObject.

Answer(s): D



Viewing page 9 of 77
Viewing questions 41 - 45 out of 60 questions



Post your Comments and Discuss Salesforce Certified Platform Developer exam prep with other Community members:

Join the Certified Platform Developer Discussion