Thursday, July 9, 2020

An Authentic Study Guide: How to be Well-Prepared For Salesforce PDII Exam?





Sample Questions:-

Question #1

A developer built a Component to be used at the front desk for guests to self-register upon arrival at a kiosk.
The developer is now asked to create a Component for the Utility Tray to alert Users whenever a guest has
arrived at the front desk. What should be used?

A. Changelog
B. Component Event
C. Application Event
D. DML Operation

Answer: C


Question #:2

Developer wishes to improve runtime performance of Apex calls by caching results on the client. What is the
best way to implement this?

A. Decorate the server-side method with @AuraEnabled(cacheable=true).
B. Set a cookie in the browser for use upon return to the page.
C. Decorate the server-side method with @AuraEnabled(storable=true).
D. Call the setStorable() method on the action in the JavaScript client-side code.

Answer: D


Question #:3

Universal Containers wants to use a Customer Community with Customer Community Plus licenses so their customers can track how many of containers they are renting and when they are due back. Many of their customers are global companies with complex Account hierarchies, representing various departments within the same organization. One of the requirements is that certain community users within the same Account hierarchy be able to see several departments' containers, based on a junction object that relates the Contact to the various Account records that represent the departments. Which solution solves these requirements?

A. Custom Report Type and a report Lightning Component on the Community Home Page
B. An Apex Trigger that creates Apex Managed Sharing records based on the junction object's
relationships
C. Custom List View on the junction object with filters that will show the proper records based on owner 
D. A Visual force page that uses a Custom Controller that specifies without sharing to expose the records

Answer: B


Question #:4

Part of a custom Lightning Component displays the total number of Opportunities in the org, which is in the millions. The Lightning Component uses an Apex Controller to get the data it needs. What is the optimal way for a developer to get the total number of Opportunities for the Lightning Component?

A. SUM() SOQL aggregate query on the Opportunity object
B. SOQL for loop that counts the number of Opportunities records
C. COUNT() SOQL aggregate query on the Opportunity object
D. Apex Batch job that counts the number of Opportunity records

Answer: C


Question #:5

Of 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__¢ 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 ='Shoppers' 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 LIKE ‘Shop%’ 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 EXCLUDES (‘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 INCLUDES (‘Shoppers’, ‘Womens’) AND Transaction_Date__c=2019-05-31T00:00Z

Answer: A

For More Details, Visit Our Site:
https://www.exam4help.com/salesforce/pdii-dumps.html

No comments:

Post a Comment

JN0-103 Dumps PDF – Easy To Download | Exam4Help.com

Sample Questions:- Question: 1 You issue a "request system zeroize" command. Which statement is correct in this scenario? ...