
Actualtests offers free demo for Platform-Developer-II exam. "Platform Developer II", also known as Platform-Developer-II exam, is a Salesforce Certification. This set of posts, Passing the Salesforce Platform-Developer-II exam, will help you answer those questions. The Platform-Developer-II Questions & Answers covers all the knowledge points of the real exam. 100% real Salesforce Platform-Developer-II exams and revised by experts!
Online Platform-Developer-II free questions and answers of New Version:
NEW QUESTION 1
A company uses Salesforce to sell products to customers. They also have an external product information management (PIM) system that is the system of record for products.
A developer received these requirements:
• Whenever a product is created or updated in the PIM, a product must be created or updated as a Product2 record in Salesforce and a PricebookEntry record must be created or updated automatically by Salesforce.
• The PricebookEntry should be created In a Pricebook2 that is specified In a custom setting. What should the developer use to satisfy these requirements?
Answer: A
NEW QUESTION 2
A developer needs to send Account records to an external system for backup purposes. The process must take a snapshot of Accounts as they are saved and then make a callout to a RESTful web service. The web service can only receive, at most, one record per call. Which feature should be used to implement these requirements?
Answer: D
NEW QUESTION 3
The test method above tests an Apex trigger that the developer knows will make a lot of queries when a lot of Account are simultaneously updated to be customer.
The test method fails at the Line 20 because of too many SOQL queries What is the correct way to fix this?
The test method above tests an Apex trigger that the developer knows will make a lot of queries when a lot of Accounts are simultaneously updated to be customers.
The test method fails at the Line 20 because of too many SOQL queries. What is the correct way to fix this?
Answer: C
NEW QUESTION 4
The Contact object has a custom field called "Zone." Its data type is "Text" and field length is 3. What is the outcome after executing the following code snippet in the org?
Answer: D
NEW QUESTION 5
A company wants to create a dynamic survey that navigates users through a different series of questions based on their previous responses.
What is the recommended solution to meet this requirement?
Answer: A
NEW QUESTION 6
Universal Containers (UC) has enabled the translation workbench and has translated picklist values. UC has a custom multi-select picklist field, Products____z, on the Account object that allows sales reps to specify which of UC's products an Account already has. A developer is tasked with writing an Apex method that retrieves Account records, Including product_c field.
What should the developer do to ensure the value of Products c is in the current user's language?
Answer: C
NEW QUESTION 7
A company notices that their unit tests in a test class with many methods to create many records for prerequisite reference data are slow. What can a developer to do address the issue?
Answer: A
NEW QUESTION 8
A company has a Lightning Page with many Lightning Components, some that cache reference data. It is reported that the page does not always show the most current reference data. What can a developer use to analyze and diagnose the problem in the Lightning Page?
Answer: A
NEW QUESTION 9
If you have a method "doStuff(List<sObject> records)", which is a valid call?
Answer: A
NEW QUESTION 10
What are three benefits of using static resources in Visualforce and Lightning Components? Choose 3 answers
Answer: ADE
NEW QUESTION 11
How should a developer verify that a specific Account record is being tested in a test class for a visualforce controller?
Answer: A
NEW QUESTION 12
A developer needs to create a Lightning page for entering Order Information. An error message should be displayed if the zip code entered as part of the Order's shipping address is not numeric.
What is a recommended way for the error message be displayed to the end user?
Answer: D
NEW QUESTION 13
What is the best practice to initialize a Visualforce page in a test class?
Answer: C
NEW QUESTION 14
As part of a custom development, a developer creates a Lightning Component to show how a particular opportunity progresses over time. The component must display the date stamp when any of the following fields change:
• Amount Probability, Stage, or Close Date
What is the most efficient way to Query such information?
Answer: C
NEW QUESTION 15
A developer has created a Visualforce page that uses a third-party JavaScript framework. The developer has decided to supply data to the JavaScript functions using JavaScript Remoting for Apex Controllers.
What is the correct syntax to declare a remote method in Apex? (Choose two.)
Answer: AC
NEW QUESTION 16
A developer has written an After Update trigger on Account. A workflow rule and field update cause the trigger to repeatedly update the Account records.
How should the developer handle the recursive trigger?
Answer: C
NEW QUESTION 17
......
P.S. DumpSolutions.com now are offering 100% pass ensure Platform-Developer-II dumps! All Platform-Developer-II exam questions have been updated with correct answers: https://www.dumpsolutions.com/Platform-Developer-II-dumps/ (196 New Questions)