Cause all that matters here is passing the Salesforce PDII exam. Cause all that you need is a high score of PDII Salesforce Certified Platform Developer II (PDII) exam. The only one thing you need to do is downloading Testking PDII exam study guides now. We will not let you down with our money-back guarantee.
Salesforce PDII Free Dumps Questions Online, Read and Test Now.
NEW QUESTION 1
A developer must create a way for external partners to submit millions of leads into Salesforce per day. How should the developer meet this requirement?
- A. Publicly expose a Visualforce page via Force.com Sites.
- B. Create a web service on Heroku that uses Heroku Connect.
- C. Host a Web-to-Lead form on the company website.
- D. Publicly expose an Apex Web Service via Force.com Sites.
Answer: D
NEW QUESTION 2
A developer has refactored an application and renamed an Apex class in a sandbox and now needs to deploy the changes to production. How can this be accomplished? Choose 2 answers
- A. Deploy the new Apex class with the Force.com Migration Tool and set the old name in destructiveChanges.xml.
- B. Use a changeset to both delete the old Apex class and deploy the new Apex class to production.
- C. Deploy the new Apex class, and then log in to the production environment and manually delete the class.
- D. Use the Force.com IDE to delete the old Apex class from the project and deploy the changes to production.
Answer: AD
NEW QUESTION 3
What is the top-level namespace that provides the ability to use Chatter in Apex?
- A. RestApi
- B. ChatterApi
- C. FeedApi
- D. ConnectApi
Answer: D
NEW QUESTION 4
Which type of controller is best suited when you want all of the basic DML functions from an object's normal new/edit page?
- A. Standard Controller
- B. Standard List/Set Controller
- C. Controller Extensions
- D. Custom Controller
Answer: B
NEW QUESTION 5
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
Answer: D
NEW QUESTION 6
When developing a Visualforce page that will be used by a global organization that does business in many languages and many currencies, which feature should be used? Choose 3 answers
- A. Custom Labels
- B. ConvertCurrency()
- C. Global Labels
- D. Translation Workbench
- E. GetLocalCurrency()
Answer: ABD
NEW QUESTION 7
A developer receives a LimitException: Too many query rows: 50001 error when running code. What debugging approach using the Developer Console provides the fastest and most accurate mechanism to identify a specific component that may be returning an unexpected number of rows?
- A. Count the number of Row Limit warning messages in the Debug Logs.
- B. Add System.debug (System.getoueryRows () to the code to track SOQL usage.
- C. Filter the Debug Log on SOQL_EXECUTE_END statements to track the results of each SOQL Query.
- D. Use the Execution Overview to see the number of rows returned by each Executed Unit.
Answer: C
NEW QUESTION 8
A company requires that a child custom record is created when an Order record is inserted. The company's administrator must be able to make changes to the solution. What is the recommended solution for implementing this requirement?
- A. Create a Visual Workflow that will create the custom child record when the Order is inserted.
- B. Create a Force.com Workflow Rule to create the custom child record when the Order is inserted.
- C. Create an Apex Trigger to create the custom child record when the Order is inserted.
- D. Create a Lightning Process to create the custom child record when the Order is inserted.
Answer: D
NEW QUESTION 9
What field type can be used in the WHERE clause to improve SOQL query performance? Choose 3 answers
- A. Email fields
- B. Name fields
- C. Telephone fields
- D. Lookup fields
- E. External Id fields
Answer: BDE
NEW QUESTION 10
What is the transaction limit for SOQL queries?
- A. 20 (synchronous), 200 (async)
- B. 150 (synchronous), 20 (async)
- C. 150 (synchronous), 200 (async)
- D. 100 (synchronous), 200 (async)
- E. 200 (synchronous), 100 (async)
Answer: D
NEW QUESTION 11
What are the ways a developer can create test data of Contacts?
- A. Test.createTestData()
- B. myDataFactory.createContacts(10)
- C. Test.loadData(Contact.sObjectType, 'staticResource')
- D. Test.loadTestRecords(Contact.sObjectType, 'staticResource')
Answer: BC
NEW QUESTION 12
A developer has been asked to prevent Accounts from being deleted if there is a related Contact that has the Do_Not_Delete_c checkbox checked. How can the developer accomplish this?
- A. Create a Validation Rule on the Contact object.
- B. Create a Before Delete Trigger on the Account object.
- C. Create a Validation Rule on the Account object.
- D. Create a Before Delete Trigger on the Contact object
Answer: B
NEW QUESTION 13
What is a limitation of a "getxxx" method (for example, getName) in a custom Visualforce controller?
- A. The method cannot return SObjects.
- B. The method cannot use DML operations.
- C. The method cannot return Apex classes.
- D. The method cannot use SOSL queries.
Answer: B
NEW QUESTION 14
When testing batch classes, what must a developer do?
- A. Use seeAllData=true
- B. Encapsulate code in Test.startTest() and Test.stopTest()
- C. Call the class' "execute" method
- D. Limit the amount of records you test to < 200
Answer: BD
NEW QUESTION 15
The "Webservice" keyword...
- A. Method must be static, and class must be global
- B. Can be used on all classes
- C. Used for any member variables included
- D. All of the above
Answer: D
NEW QUESTION 16
An integration user makes a successful login() call via the SOAP API. What can be used in the SOAP header to provide server authorization for subsequent API requests?
- A. Named Credentials
- B. Session ID
- C. OAuth access token
- D. Security token
Answer: B
NEW QUESTION 17
What is the recommended approach to create test data when testing Apex that involves Pricebooks, PricebookEntries, and Products?
- A. Insert a new standard Pricebook record within your Test Method so that it can be used with other test records.
- B. Use the Test.getStandardPricebookId() method to get theId of the standard Pricebook so that it can be used with other test records.
- C. Use the isTest (SeeAllData=true) annotation on Test Methods that require access to the standard Pricebook.
- D. Use the isTest (SeeAllData=true) annotation on the entire Test Class to allow your Test Methods access to the standard Pricebook.
Answer: B
NEW QUESTION 18
What is a technique to maximize code re-use within Visualforce pages? Choose 3 answers
- A. Referencing an existing page With .
- B. Creating Visualforce Templates With .
- C. Defining reusable page regions with .
- D. Creating reusable page sections with .
- E. Creating reusable Visualforce Components with .
Answer: ABE
NEW QUESTION 19
Which of the following standard fields are indexed? Choose three answers
- A. Name
- B. CreatedBy
- C. SystemModStamp
- D. LastModifedDate
- E. RecordType
Answer: ACE
NEW QUESTION 20
Given the following code sample, what is a potential issue regarding bulk processing of records? trigger accountTestTrggr on Account (before insert, before update) Account acct = Trigger.new[0]; List <Contact> contacts = new List <Contact> ([select id, salutation, firstname, lastname,email from Contact where accountId = :acct.Id]); for (Contact con: contacts) con.Title = 'Not Selected'; update contacts;
- A. The code will not execute because the record in the list can be null and cause an exception.
- B. The code will process one record that is called explicitly per execution.
- C. The code will not execute because the list can be null and cause an exception.
- D. The code will have to be invoked multiple times to process all the records.
Answer: BD
NEW QUESTION 21
What is the best way to display field-level error messages in Lightning?
- A. ui:inputDefaultError
- B. ui:outputText
- C. aura:component
- D. apex:message
Answer: A
NEW QUESTION 22
A developer wants to retrieve and deploy metadata, perform simple CSV export of query results, and debug Apex REST calls by viewing JSON responses. Which tool should the developer use?
- A. Developer Console
- B. Force.com Migration Tool
- C. Workbench
- D. Force.com IDE
Answer: C
NEW QUESTION 23
......
P.S. Easily pass PDII Exam with 189 Q&As Dumps-files.com Dumps & pdf Version, Welcome to Download the Newest Dumps-files.com PDII Dumps: https://www.dumps-files.com/files/PDII/ (189 New Questions)