Salesforce Platform Developer II Certification Exam Sample Questions

Platform Developer II Exam Dumps, Platform Developer II Examcollection, Platform Developer II Braindumps, Platform Developer II Questions PDF, Platform Developer II VCE, Platform Developer II Sample Questions, Platform Developer II Official Cert Guide PDF, Salesforce Platform Developer 2 PDFWe have prepared Salesforce Platform Developer II (Platform Developer II) certification sample questions to make you aware of actual exam properties. This sample question set provides you with information about the Salesforce Platform Developer 2 exam pattern, question formate, a difficulty level of questions and time required to answer each question. To get familiar with Salesforce Certified Platform Developer II exam, we suggest you try our Sample Salesforce Platform Developer 2 Certification Practice Exam in simulated Salesforce certification exam environment.

To test your knowledge and understanding of concepts with real-time scenario based questions, we strongly recommend you to prepare and practice with Premium Salesforce Platform Developer II Certification Practice Exam. The premium certification practice exam helps you identify topics in which you are well prepared and topics in which you may need further training to achieving great score in actual Salesforce Certified Platform Developer II exam.

Salesforce Platform Developer II Sample Questions:

01. What are the two benefits of using External Ids?
a) An external Id is indexed and can improve performance in SOQL queries.
b) An External Id can be used with Salesforce mobile to make external data visible.
c) An external Id can be used to reference a unique ID from another, external system.
d) An external Id can be a formula field to help create a unique field from two fields in Salesforce.
 
02. What is the transaction limit for the number of records per DML statement?
a) 5,000
b) 20,000
c) 50,000
d) 10,000
e) There is no limit
 
03. Which code statement includes an Apex method updateAccounts in the class AccountController for use in LWC?
a) import updateAccounts from 'AccountController.updateAccounts';
b) import updateAccounts from 'AccountController';
c) import updateAccounts from '@salesforce/apex/AccountController.updateAccounts';
d) import updateAccounts from '@salesforce/apex/AccountController';
 
04. How can Apex be used with Visual Workflow?
a) To set the version of a Flow being run
b) To start a Flow automatically
c) To add custom styling to a Flow
d) To control access to a Flow
 
05. Which method should be used to convert a Date to a String in the current user's locale?
a) String.format
b) Date.format
c) String.valueOf
d) Date.parse
 
06. Use of transient keyword in visualforce page controllers help with which common performance issues?
a) Improves query performance.
b) Improves page transfers
c) Reduces view state
d) Reduces Load time.
 
07. How can the DISTANCE and GEOLOCATION functions be used in SOQL queries?
(Choose two.)
a) To filter results based on distance from a latitude and longitude
b) To get the distance results from a latitude and longitude
c) To order results by distance from a latitude or longitude
d) To group results in distance ranges from a latitude and longitude
 
08. A Visualforce page loads slowly due to the large amount of data it displays.Which strategy can a developer use to improve the performance?
a) Use Javascript to move data processing to the browser instead of the controller.
b) Use the transient keywords for the List variables used in the custom controller.
c) Use lazy loading to load the data on demand, instead of the controller's constructor.
d) Use an <apex:actionPoller> in the page to load all of the data asynchronously.
 
09. What is a consideration when testing batch Apex?
(Choose two.)
a) Test methods must execute the batch with a scope size of less than 200 records
b) Test methods must call the batch execute() method once
c) Test methods must use the @isTest (SeeAllData=true) annotation
d) Test methods must run the batch between Test.startTest() and Test.stopTest()
 
10. Which is a valid Apex REST Annotation?
(Choose two.)
a) @HttpPatch
b) @HttpDelete
c) @HttpUpsert
d) @HttpAction

Answers:

Question: 01
Answer: a, c
Question: 02
Answer: d
Question: 03
Answer: c
Question: 04
Answer: b
Question: 05
Answer: b
Question: 06
Answer: c
Question: 07
Answer: a, c
Question: 08
Answer: b
Question: 09
Answer: b, d
Question: 10
Answer: a, b

Note: Please update us by writing an email on feedback@vmexam.com for any error in Salesforce Certified Platform Developer II certification exam sample questions

Your rating: None Rating: 5 / 5 (76 votes)