Winter Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: v4s65

PDII Exam Dumps - Salesforce Certified Platform Developer II ( Plat-Dev-301 )

Searching for workable clues to ace the Salesforce PDII Exam? You’re on the right place! ExamCert has realistic, trusted and authentic exam prep tools to help you achieve your desired credential. ExamCert’s PDII PDF Study Guide, Testing Engine and Exam Dumps follow a reliable exam preparation strategy, providing you the most relevant and updated study material that is crafted in an easy to learn format of questions and answers. ExamCert’s study tools aim at simplifying all complex and confusing concepts of the exam and introduce you to the real exam scenario and practice it with the help of its testing engine and real exam dumps

Go to page:
Question # 41

A company accepts orders for customers in their 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?1234

A.

Upsert on the Order__c object and specify the ERP_Customer_ID__c for the Account relationship.5678

B.

Upsert on the Account and specify the ERP_Customer_ID__c for the relations9hip.101112

C.

Merge on the Order__c object and spe13cify the ERP_Customer_ID__c for 14the 15Account relationship.

D.

Insert on the Order__c object followed by an update on the Order__c object.

Full Access
Question # 42

Universal Containers uses Salesforce to track orders in an Order__c object. The Order__c object has private organization-wide defaults. The Order__c object has a custom field, Quality_Controller__c, that is a Lookup to User and is used to indicate that the specified User is performing quality control on the Order__c. What should be used to automatically give read only access to the User set in the Quality_Controller__c field?

A.

User managed sharing

B.

Record ownership

C.

Apex managed sharing

D.

Criteria-based sharing

Full Access
Question # 43

A developer is writing a Visualforce page that queries accounts in the system and presents a data table with the results. The users want to be able to filter the results based on up to five fields. However, the users want to pick the five fields to use as filter fields when they run the page. Which Apex code feature is required to facilitate this solution?

A.

Dynamic SOQL

B.

Metadata API

C.

Streaming API

D.

Variable binding

Full Access
Question # 44

A company has an Apex process that makes multiple extensive database operations and web service callouts. The database processes and web services can take a long time to run and must be run sequentially. How should the developer write this Apex code without running into governor limits and system limitations?123

A.

Use Apex Scheduler to schedul4e each process.56

B.

Use Limits class to stop entire pr7ocess once governor limits are reached.8

C.

Use multip9le @future methods for each process and callout.

D.

Use Queueable Apex to chain the jobs to run sequentially.

Full Access
Question # 45

A developer created a Lightning web component that allows users to input a text value that is used to search for Accounts by calling an Apex method. The Apex method returns a list of AccountWrappers and is called imperatively from a JavaScript event handler.

Java

01: public class AccountSearcher {

02:

03: public static List search(String term) {

04: List wrappers = getMatchingAccountWrappers(term);

05: return wrappers;

06: }

07:

08:

09: public class AccountWrapper {

10: public Account account { get; set; }

11: public Decimal matchProbability { get; set; }

12: }

13: // ...other methods, including getMatchingAccountWrappers implementation...

14: }

Which two changes should the developer make so the Apex method functions correctly?

A.

Add @AuraEnabled to line 01.

B.

Add @AuraEnabled to line 09.

C.

Add @AuraEnabled to lines 10 and 11.

D.

Add @AuraEnabled to line 03.

Full Access
Question # 46

A developer notices the execution of all the test methods in a class takes a long time to run, due to the initial setup of all the test data that is needed to perform the tests. What should the developer do to speed up test execution?

A.

Define a method that creates test data and annotate with @createData.

B.

Reduce the amount of test methods in the class.12

C.

Define a method that creates test data and annotate with @testSetup.

D.

Ensure proper usage of test data factory in all test methods.34

Full Access
Question # 47

A developer has a test class that creates test data before making a mock callout but now receives a "You have uncommitted work pending. Please commit or rollback before calling out" error. Which step should be taken to resolve the error?

A.

Ensure both the insertion and mock callout occur after the Test.stopTest().1

B.

Ensure the records are inserted before the Test.startTest() statement and the mock callout occurs within a method annotated with @testSetup.2

C.

Ensure the records are inserted befo3re the Test.startTest() statement and the mock callout occurs after the Test.startTest().45

D.

Ensure both the insertion and mock callout occur after the Test.startTest().67

Full Access
Go to page: