Salesforce PDII Exam (page: 17)
Salesforce Certified Platform Developer II
Updated on: 25-Dec-2025

Viewing Page 17 of 86

What is a consideration when using bind variables with dynamic SOQL? (Choose two.)

  1. Dynamic SOQL cannot reference fields on bind variables
  2. Dynamic SOQL cannot use bind variables
  3. Bind variables must be public or global
  4. Bind variables must be in local scope

Answer(s): A,D



A developer created a custom component to display an HTML table. The developer wants to be able to use the component on different Visualforce Pages and specify different header text for the table.

Which tag should the developer use inside the component?

  1. <apex:variable>
  2. <apex:define>
  3. <apex:param>
  4. <apex:attribute>

Answer(s): D



Which two objects can be inserted in the same transaction? (Choose two.)

  1. Opportunity and User
  2. Account and AccountShare
  3. Case and CaseComment
  4. Account and Group

Answer(s): B,C



How can the DISTANCE and GEOLOCATION functions be used in SOQL queries? (Choose two.)

  1. To filter results based on distance from a latitude and longitude
  2. To get the distance results from a latitude and longitude
  3. To order results by distance from a latitude or longitude
  4. To group results in distance ranges from a latitude and longitude

Answer(s): A,C



A developer has created a solution using the SOAP API for authenticating Communities users.
What is needed when issuing the login() Call? (Choose two.)

  1. Organization Id
  2. Session Id
  3. Username and Password
  4. Security Token

Answer(s): C,D



Viewing Page 17 of 86



Share your comments for Salesforce PDII exam with other users:

Farooqi 11/21/2023 1:37:00 AM

good for practice.
INDIA