ExamGecko
Ask Question

Salesforce Certified Platform Developer II Practice Test - Questions Answers, Page 28

Add to Whishlist

List of questions

Question 271

Report Export Collapse

Salesforce Certified Platform Developer II image Question 271 67918 09232024003105000000

What can be done to improve the performance of the insert trigger shown above?

Become a Premium Member for full access
  Unlock Premium Member

Question 272

Report Export Collapse

Which annotation exposes an Apex class as a RESTful neb service?

Become a Premium Member for full access
  Unlock Premium Member

Question 273

Report Export Collapse

A developer Is tasked with ensuring that email addresses entered into the system for Contacts and for a Custom Object called Survey_Response__c do not belong to a list of blacklisted domains. The list of blacklisted domains will be stored In a custom object for ease of maintenance by users. Note that the Survey_Response__c object is populated via a custom visualforce page.

What is the optimal way to implement this?

Become a Premium Member for full access
  Unlock Premium Member

Question 274

Report Export Collapse

Universal Containers allows customers to log into a Salesforce Community and update their orders via a custom Visualforce page. Universal Containers' sales representatives can edit the orders on the same Visualforce page.

What should a developer use in an Apex test class to test that record sharing is enforced on the Visualforce page?

Become a Premium Member for full access
  Unlock Premium Member

Question 275

Report Export Collapse

A company has a custom object. Request__c. that has a field, Completed__c. and a Lookup to Opportunity, Opportunity__c.

Which SOQL query will get a unique list of all of the Opportunity records that have a Completed Request?

Become a Premium Member for full access
  Unlock Premium Member

Question 276

Report Export Collapse

What is a benefit of using a WSDL with Apex?

Become a Premium Member for full access
  Unlock Premium Member

Question 277

Report Export Collapse

An org contains two custom objects; Building__c and Office__c. Office__c has a Lookup field to Building__c.

A developer is asked to automatically populate the Number_of_Offices__c field on the Building__c object with the count of related Office__c records anytime an Office__c record s created or deleted. The developer cannot modify the field types.

Which solution meets the requirements?

Become a Premium Member for full access
  Unlock Premium Member

Question 278

Report Export Collapse

A developer i$ tasked Dy Unversai Containers to build out a system to track the container repair process. Containers should be tracked as they move through the repair process, starting when a customer reports an issue and ending when the container is returned to the customer.

Which solution meets these business requirements while following best practices?

Become a Premium Member for full access
  Unlock Premium Member

Question 279

Report Export Collapse

A developer receives an error when trying to call a global server-side method using the @remoteAction decorator. How can the developer resolve the error?

Become a Premium Member for full access
  Unlock Premium Member

Question 280

Report Export Collapse

A developer wants to integrate invoice and invoice line data into Salesforce from a custom billing system. The developer decides to make realtime callouts from the billing system using the SOAP API.

Unfortunately, the developer is getting a lot of errors when inserting the invoice line data because the invoice header record doesn't exist yet.

What will help ensure ne transactional Integrity of the integration?

Become a Premium Member for full access
  Unlock Premium Member
Total 444 questions
Go to page: of 45
Search

Related questions