Pass PDII Exam with Updated PDII Exam Dumps PDF 2021
PDII Exam Dumps - Free Demo & 365 Day Updates
For more info visit:
Salesforce Certified Platform Developer II (PDII) Exam Reference
NEW QUESTION 115
Which use case can only be performed by using asynchronous Apex?
- A. Scheduling a batch process to complete in the future
- B. Calling a web service from an Apex trigger
- C. Updating a record after the completion of an insert
- D. Processing high volumes of records
Answer: B
NEW QUESTION 116
The Bulk API...
- A. Is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAll, insert, update, upsert, or delete many records asynchronously by submitting batches
- B. Is used to to create, retrieve, update or delete records, such as accounts, leads, and custom objects, and allows you to allows you to maintain passwords, perform searches, and much more
- C. Provides a powerful, convenient, and simple REST-based web services interface for interacting with Salesforce. Its advantages include ease of integration and development, and it's an excellent choice of technology for use with mobile applications and web projects
- D. Is used to to retrieve, deploy, create, update, or delete customizations for your org. The most common use is to migrate changes from a sandbox or testing org to your production environment
Answer: A
NEW QUESTION 117
A company recently deployed a Visualforce page with a custom controller that has a data grid of information about Opportunities in the org.
Users report that they receive a ''Maximum view state size limit'' error message under certain conditions.
According to Visualforce best practice, which three actions should the developer take to reduce the view state? Choose 3 answers
- A. Refine any SQQL queries to return only data relevant Co the page.
- B. Use filters and pagination to reduce the amount of data.
- C. Use the private keyword in the controller for variables
- D. Use the transient keyword in the Apex controller for variables that do not maintain state.
- E. Use the final keyword In the controller for variables that will not change.
Answer: A,B,D
NEW QUESTION 118
Which type of controller is best suited when you want to add custom functionality to a standard controller page, or when you want reusable functionality throughout pages?
- A. Standard Controller
- B. Custom Controller
- C. Controller Extensions
- D. Standard List/Set Controller
Answer: C
NEW QUESTION 119
Choose the correct definition for <apex:messages>.
- A. Standard Salesforce formatting, throws a specific message on a page
- B. No formatting; displays all errors on a page
- C. A single message, without formatting, that can be associated with a specific component on the page
- D. Standard Salesforce formatting, shows all errors that occur on page. Can add more messages through the
"ApexPages.addMessage" function
Answer: D
NEW QUESTION 120
After a Platform Event is defined in a Salesforce org, events can be published via which two mechanisms?
Choose 2 answers
- A. External Apps can use the standard Streaming API.
- B. internal Apps can use Outbound Messages
- C. External Apps require a custom Apex web service.
- D. Internal Apps can use Process Builder.
Answer: B,D
NEW QUESTION 121
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?
- A. Salesforce Lightning Inspector Transactions Tab
- B. Salesforce Lightning Inspector Actions Tab
- C. Salesforce Lightning Inspector Storage Tab
- D. Salesforce Lightning Inspector Event Log Tab
Answer: C
NEW QUESTION 122
The Salesforce instance at Universal Containers currently integrates with a third-party company to validate mailing addresses via REST services. The third-party address verification system recently changed endpoint URLs for all their set vices from https://th-addreaa-service.3pc.com to https://plc1-mailsarvice.3pc.com. Everything else remained the same. The developer updated code to reflect this endpoint change, but the mailing address validation service stopped working after the change.
What else should be done to complete this web service end point change?
- A. Use a Custom Setting with the new endpoint Instead of hard coding the URL.
- B. Add web service IP Addresses to Trusted IP Ranges m the Network Access security controls settings.
- C. Test the callout property using HttpCalloutMock.
- D. Create a new Remote Site for the new endpoint URL.
Answer: D
NEW QUESTION 123
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. Date.parse
- D. String. valueOf
Answer: B
NEW QUESTION 124
Given the following containment hierarchy:
What is the correct way to communicate the new value of a property named ''passthrough'' to my-parent component if the property is defined within my-child-component?
A)
B)
C)
D)
- A. Option D
- B. Option A
- C. Option C
- D. Option B
Answer: D
NEW QUESTION 125
Universal Containers needs to integrate with a Heroku service that resizes product images submitted by users.
What are two alternatives to implement the integration and protect against malicious calls to the Heroku app's endpoint? Choose 2 answers
- A. Create a trigger that uses an future Apex HTTP callout passing JSON serialized data; therefore the Heroku app can automatically reply back to the callout with the resized images in Salesforce.
- B. Create a Workflow Rule with an Outbound Message allowing the Heroku app to automatically store the resized images in Salesforce
- C. Create a trigger that uses an future Apex HTTP callout passing JSON serialized data and some form of pre-shared secret key, so that the Heroku app can authenticate requests and store the resized images in Salesforce.
- D. Create a Workflow Rule with an Outbound Message and select Send Session ID so that the Heroku app can use it to send the re images back to Salesforce.
Answer: C,D
NEW QUESTION 126
A developer Is asked to develop a new AppExthange application. A feature of the program creates Survey records when a Case reaches a certain stage and Is of a certain Record Type. This feature needs to be configurable, as different Salesforce instances require Surveys at different times. Additionally, the out-of-the-box AppExchange app needs to come with a set of best practice settings that apply to most customers.
What should the developer use to store and package the custom configuration settings for the app?
- A. Custom Objects
- B. Custom Settings
- C. Custom Metadata
- D. Process Builder
Answer: C
NEW QUESTION 127
Which three actions must be completed in a Lightning web component for a JavaScript file in a static resource to be loaded?
Choose 3 answers
- A. Reference the static resource in a <script> tag.
- B. Import the static resource.
- C. Append the static resource to the DOM.
- D. Import a method from the platformftesourceLoader,
- E. Call loadscript.
Answer: B,D,E
NEW QUESTION 128
What is a benefit of JavaScript remoting over Visualforce Remote Objects?
- A. Allows for specified re-render targets
- B. Does not require any Apex code
- C. Supports complex server-side application logic
- D. Does not require any JavaScript code
Answer: D
NEW QUESTION 129
What is the <apex:actionSupport> tag used for in Visualforce pages?
- A. To trigger controller actions in response to DOM element events.
- B. To trigger a second action when a button or link is clicked.
- C. To create a Javascript function that can trigger a controller action
- D. To provide help and support content for buttons and links.
Answer: A
NEW QUESTION 130
The head of recruiting at Universal Containers wants to provide all internal users the ability to search for open positions by role, department, and location via a new recruiting app, In addition to search, users of the app should be able to refer a fried, apply for a position, and review the status of their current submissions. The app should be made available in Salesforce Mobile, but offline access is not required.
Given these requirements, what is the recommended approach to developer the app?
- A. Salesforce SDK
- B. Lightning Web Components
- C. Lightning Experience Builder
- D. Visualforce
Answer: A
NEW QUESTION 131
Consider the code above.
When a user dicks on the Link of a Contact's name, what happens'
- A. A new page opens, showing the Contact's details.
- B. The page refreshes, showing the Contact's details.
- C. Nothing happens: the commandLink is missing an action attribute.
- D. The outputPanel refreshes, showing the Contacts details.
Answer: D
NEW QUESTION 132
Universal Containers uses Big Objects to store almost a billion customer transactions called Customer_Transaction__b.
These are the fields on Customer_Transaction__b:
Account__c
Program__c
Points_Earned__c
Location__c
Transaction_Date__c
The following fields have been identified as Index Fields for the Customer_Transaction__b object: Account__c, Program__c, and Transaction_Date__c.
Which SOQL query is valid on the Customer_Transaction__b Big Object?
- A. SELECT Account__c, Program__c, Transaction_Date__c FROM Customer_Transaction__b WHERE Account__c = '001R000000302D3' AND Program__c EXCLUDES ('Shoppers', 'Womens') AND Transaction_Date__c=2019-05-31T00:00Z
- B. SELECT Account__c, Program__c, Transaction_Date__c FROM Customer_Transaction__b WHERE Account__c = '001R000000302D3' AND Program__c ='Shoppers' AND Transaction_Date__c=2019-05-31T00:00Z
- C. SELECT Account__c, Program__c, Transaction_Date__c FROM Customer_Transaction__b WHERE Account__c = '001R000000302D3' AND Program__c INCLUDES ('Shoppers', 'Womens') AND Transaction_Date__c=2019-05-31T00:00Z
- D. SELECT Account__c, Program__c, Transaction_Date__c
FROM Customer_Transaction__b WHERE Account__c = '001R000000302D3'
AND Program__c LIKE 'Shop%'
AND Transaction_Date__c=2019-05-31T00:00Z
Answer: B
NEW QUESTION 133
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?
- A. Dynamic Record Choice
- B. Visualforce and Apex
- C. Custom Lightning application
- D. Lightning Process Builder
Answer: B
NEW QUESTION 134
The Account edit button must be overridden in an org where a subset of users still use Salesforce Classic.
The org already has a Lightning Component that will do the work necessary for the override, and the client wants to be able to reuse it.
How should a developer implement this?
- A. Override the edit button for Lightning with a Lightning Page, and Classic with a Visualforce page that contains the Lightning Component
- B. Override the edit button for both Lightning and Classic with a Lightning Component
- C. Override the edit button for both Lightning and Classic with a new Visualforce page
- D. Override the edit button for Lightning with a Lightning Component, and Classic with a Visualforce page that contains the Lightning Component
Answer: A
NEW QUESTION 135
Universal Containers (UC) wants to develop a customer community to help their customers log issues with their containers. The community needs to function for their German- and Spanish-speaking customers also.
UC heard that it's easy to create an international community using Salesforce, and hired a developer to build out the site.
What should the developer use to ensure the site is multilingual?
- A. Use Custom Settings to ensure custom messages are translated properly.
- B. Use Custom Objects to translate custom picklist values.
- C. Use Custom Metadata to translate custom picklist values.
- D. Use Custom Labels to ensure custom messages are translated property.
Answer: D
NEW QUESTION 136
What is a potential design issue with the following code?
- A. The code will result in a System.LimitException: Apex CPU time limit exceeded error
- B. The code will result in a System.LimitException : Too many script statements error
- C. SOQL could be avoided by creating a formula field for StageName in Account from the related Opportunity
- D. The code will result in a System.DmException:Entity_is_Deleted error
Answer: A
NEW QUESTION 137
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.)
- A. @RemoteAction global String getTable()
- B. @RemoteObject global static String getTableQ
- C. @RemoteAction public static String getTable()
- D. @RemoteAction global static String getTable()
Answer: C,D
NEW QUESTION 138
......
Certification Path
Salesforce Platform Developer I, Superbadge Apex Specialist, Superbadge Data Integration Specialist, Superbadge Aura Components Specialist and Superbadge Advance Apex Specialist Certification can act as a prerequisite for this exam.
Salesforce PDII Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
| Topic 6 |
|
| Topic 7 |
|
| Topic 8 |
|
| Topic 9 |
|
| Topic 10 |
|
| Topic 11 |
|
| Topic 12 |
|
PDII Dumps - Pass Your Certification Exam: https://www.trainingdump.com/Salesforce/PDII-practice-exam-dumps.html
Free Sales Ending Soon - Use Real PDII PDF Questions: https://drive.google.com/open?id=1VB2c0FyIgCP9fTt0CaAZOJTZacQ-ipcy