Free CERTIFIED-PLATFORM-DEVELOPER-II Salesforce CERTIFIED-PLATFORM-DEVELOPER-II Practice Test Question

Loading demo links...

Showing 25–27 of 28 questions

Question 25 (Topic 1)

A developer is working with existing functionality that tracks how many times a stage has changed for an Opportunity. When the Opportunity's stage is changed, a workflow rule is fired to increase the value of a field by one. The developer wrote an after trigger to create a child record when the field changes from 4 to 5. A user changes the stage of an Opportunity and manually sets the count field to 4. The count field updates to 5, but the child record is not created. What is the reason this is happening?

Select an option, then click Submit answer.

  • After triggers fire before workflow rules.
  • Trigger.new does not change after a field update.
  • After triggers are not fired after field updates.
  • Trigger.old does not contain the updated value of the count field.
Question 26 (Topic 1)

A company accepts orders for customers in their enterprise resource planning (ERP) system that must be integrated into Salesforce as Order__c records with a lookup field to Account. The Account object has an external ID field, ERP_Customer_ID__c. What should the integration use to create new Order__c records that will automatically be related to the correct Account?

Select an option, then click Submit answer.

  • Insert on the Order__c object followed by an update on the Order__c object.
  • Merge on the Order__c object and specify the ERP_Customer_ID__c for the Account relationship.
  • Upsert on the Order__c object and specify the ERP_Customer_ID__c for the Account relationship.
  • Upsert on the Account and specify the ERP_Customer_ID__c for the relationship.
Question 27 (Topic 1)

A developer is writing a Listener for implementing outbound messaging. Which three considerations must the developer keep in mind in this case? (Choose three.)

Select an option, then click Submit answer.

  • Messages are retried independent of their order in the queue.
  • The Organization ID is included only in the first outbound message.
  • Messages can be delivered out of order.
  • The sessionId in an outbound message is scoped for both API requests and UI requests.
  • The Listener must be reachable from the public Internet.