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

Updated On: 30-Jan-2026

Using the Schema Builder, a developer tries to change the API name of a field that is referenced in an Apex test class.
What is the end result?

  1. The API name is not changed and there are no other impacts.
  2. The API name of the field and the reference in the test class is changed.
  3. The API name of the field is changed, and a warning is issued to update the class.
  4. The API name of the field and the reference in the test class is updated.

Answer(s): C



Which two number expressions evaluate correctly? (Choose two.)

  1. Double d = 3.14159;
  2. Integer I = 3.14159;
  3. Decimal d = 3.14159;
  4. Long l = 3.14159;

Answer(s): A,C



A developer executes the following query in Apex to retrieve a list of contacts for each account:
List<account> accounts = [Select ID, Name, (Select ID, Name from Contacts) from Account] ;
Which two exceptions may occur when it executes? (Choose two.)

  1. CPU limit exception due to the complexity of the query.
  2. SOQL query row limit exception due to the number of contacts.
  3. SOQL query limit exception due to the number of contacts.
  4. SOQL query row limit exception due to the number of accounts.

Answer(s): C,D



Which three options can be accomplished with formula fields? (Choose three.)

  1. Generate a link using the HYPERLINK function to a specific record.
  2. Display the previous value for a field using the PRIORVALUE function.
  3. Determine if a datetime field value has passed using the NOW function.
  4. Return and display a field value from another object using the VLOOKUP function.
  5. Determine which of three different images to display using the IF function.

Answer(s): A,C,E



An org has a single account named `NoContacts' that has no related contacts. Given the query:
List<Account> accounts = [Select ID, (Select ID, Name from Contacts) from Account where Name=`NoContacts'];
What is the result of running this Apex?

  1. accounts[0].contacts is invalid Apex.
  2. accounts[0].contacts is an empty Apex.
  3. accounts[0].contacts is Null.
  4. A QueryException is thrown.

Answer(s): B



Viewing page 13 of 77
Viewing questions 61 - 60 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