PDII 無料問題集「Salesforce Certified Platform Developer II (PDII)」
A developer created a JavaScript library that simplifies the development of repetitive tasks and features and uploaded the library as a static resource called rsutils in Salesforce. Another developer is coding a new Lightning web component (LWC) and wants to leverage the library, Which statement properly loads the static resource within the LWC?
正解:A
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
Consider the queries in the options below and the following Information:
* For these queries, assume that there are more than 200,000 Account records.
* These records Include soft-deleted records; that is, deleted records that are still in the Recycle Bin.
* There are two fields that are marked as External Id on the
Account. These fields are customer_Number_c and ERR_Key_ s.
Which two queries are optimized for large data volumes?
Choose 2 answers
* For these queries, assume that there are more than 200,000 Account records.
* These records Include soft-deleted records; that is, deleted records that are still in the Recycle Bin.
* There are two fields that are marked as External Id on the
Account. These fields are customer_Number_c and ERR_Key_ s.
Which two queries are optimized for large data volumes?
Choose 2 answers
正解:A、B
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
Consider the controller code below that is called from an Aura component and returns data wrapped in a class.
![](https://www.jpntest.com/uploads/imgs/PDII V21.65/img_231.jpg)
The developer verified that the queries return a single record each and there is error handling in the Aura component, but the component is not getting anything back when calling the controller getSemeData.
'What is wrong?
![](https://www.jpntest.com/uploads/imgs/PDII V21.65/img_231.jpg)
The developer verified that the queries return a single record each and there is error handling in the Aura component, but the component is not getting anything back when calling the controller getSemeData.
'What is wrong?
正解:A
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
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?
What can a developer use to analyze and diagnose the problem in the Lightning page?
正解:B
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
Refer to the Lightning component below:
![](https://www.jpntest.com/uploads/imgs/PDII V21.65/img_228.jpg)
The Lightning Component allows users to click a button to save their changes and then redirects them to a different page.
Currently when the user hits the Save button, the records are getting saved, but they are not redirected.
Which three techniques can a developer use to debug the JavaScript?
Choose 3 answers
![](https://www.jpntest.com/uploads/imgs/PDII V21.65/img_228.jpg)
The Lightning Component allows users to click a button to save their changes and then redirects them to a different page.
Currently when the user hits the Save button, the records are getting saved, but they are not redirected.
Which three techniques can a developer use to debug the JavaScript?
Choose 3 answers
正解:A、B、D
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
A developer created an Apex class that updates an Account based on input from a Lightning web component that Is used to register an Account. The update to the Account should only be made if it has not already been registered.
![](https://www.jpntest.com/uploads/imgs/PDII V21.65/img_31.jpg)
What should the developer do to ensure that users do not overwrite each other's updates to the same Account if they make updates at the same time?
![](https://www.jpntest.com/uploads/imgs/PDII V21.65/img_31.jpg)
What should the developer do to ensure that users do not overwrite each other's updates to the same Account if they make updates at the same time?
正解:C
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
Universal Containers (UC) has enabled the translation workbench and has translated picklist values. UC has a custom multi-select picklist field, Product__c, 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 the Product_c field.
What should the developer do to ensure the value of Products__c is in the current user's language?
What should the developer do to ensure the value of Products__c is in the current user's language?
正解:D
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)