PDII試験無料問題集「Salesforce Certified Platform Developer II (PDII) 認定」

A developer has a Visualforce page that automatically assigns ewnership of an Account to a queue upon save.
The page appears to correctly assign ownership, but an assertion validating the correct ownership fails.
What can cause this problem?

解説: (GoShiken メンバーにのみ表示されます)
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?

解説: (GoShiken メンバーにのみ表示されます)
A developer is creating a page in App Builder that will be used in the Salesforce mobile app.
Which two practices should the developer follow to ensure the page operates with optimal performance?
Choose 2 answers

解説: (GoShiken メンバーにのみ表示されます)
A developer is creating a Lightning web component to display a calendar. The component will be used in multiple countries. In some locales, the first day of the week is a Monday, or a Saturday, or a Sunday. 'What should the developer do to ensure the calendar displays accurately for users in every locale?

解説: (GoShiken メンバーにのみ表示されます)
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?

解説: (GoShiken メンバーにのみ表示されます)
Consider the following code snippet:

A developer created the following test class to provide the proper code coverage for the snippet above:

However, when the test runs, no data is returned and the assertion fails.
Which edit should the developer make to ensure the test class runs successfully?

解説: (GoShiken メンバーにのみ表示されます)
A company has code to update a Request and Request Lines and make a callout to their external ERP system's REST endpoint with the updated records.

The callousUtil.makeRestCallout fails with a "You have uncommitted work pending. Please commit or rollback before calling cut' error.
What should be done to address the problem?

解説: (GoShiken メンバーにのみ表示されます)
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

解説: (GoShiken メンバーにのみ表示されます)
An org records customer order information in a custom object, ordar__c, that has fields for the shipping address. A developer is tasked with adding code to calculate shipping charges on an order, based on a flat percentage rate associated with the region of the shipping address.
What should the developer use to store the rates by region, so that when the changes are deployed to production no additional steps are needed for the calculation to work?

解説: (GoShiken メンバーにのみ表示されます)
A developer is working on an integration between Salestorce and an external system. The integration requires sending a large amount of data to the external systern, which can cause long response times and timeouts.
To optimize the performance and avoid timeouts, which technique should be used?

解説: (GoShiken メンバーにのみ表示されます)