最新的Salesforce Certified Platform Developer II - Multiple Choice - Plat-Dev-301免費考試真題
Salesforce users consistently receive a "Maximum trigger depth exceeded" error when saving an Account. How can a developer fix this error?
正確答案: D
說明:(僅 Fast2test 成員可見)
What is the optimal way to fix this?
A)

B)

C)

D)

A)

B)

C)

D)

正確答案: C
說明:(僅 Fast2test 成員可見)
Instead of waiting to send emails to support personnel directly from the finish method of a batch Apex process, Universal Containers wants to notify an external system in the event that an unhandled exception occurs.
What is the appropriate publish/subscribe logic to meet this requirement?
What is the appropriate publish/subscribe logic to meet this requirement?
正確答案: C
說明:(僅 Fast2test 成員可見)
Universal Containers stores user preferences in a Hierarchy Custom Setting, User_Prefs_c, with a Checkbox field, Show_Help_c. Company-level defaults are stored at the organizational level, but may be overridden at the user level. If a user has not overridden preferences, then the defaults should be used.
How should the Show_Help_c preference be retrieved for the current user?
How should the Show_Help_c preference be retrieved for the current user?
正確答案: D
說明:(僅 Fast2test 成員可見)
Universal Containers is using a custom Salesforce application to manage customer support cases. The support team needs to collaborate with external partners to resolve certain cases. However, they want to control the visibility and access to the cases shared with the external partners. Which Salesforce feature can help achieve this requirement?
正確答案: A
說明:(僅 Fast2test 成員可見)
A company needs to automatically delete sensitive information after seven years.
This could delete almost a million records every day.
How can this be achieved?
This could delete almost a million records every day.
How can this be achieved?
正確答案: A
說明:(僅 Fast2test 成員可見)
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
正確答案: C,D
說明:(僅 Fast2test 成員可見)
A business currently has a process to manually upload orders from its external Order Management System (OMS) into Salesforce.
This is a labor intensive process since accounts must be exported out of Salesforce to get the IDs. The upload file must be updated with the correct account IDs to relate the orders to the corresponding accounts.
Which two recommendations should make this process more efficient?
Choose 2 answers
This is a labor intensive process since accounts must be exported out of Salesforce to get the IDs. The upload file must be updated with the correct account IDs to relate the orders to the corresponding accounts.
Which two recommendations should make this process more efficient?
Choose 2 answers
正確答案: C,D
說明:(僅 Fast2test 成員可見)
A developer wrote the following method to find all the test accounts in the org:

What should be used to fix this failing test?

What should be used to fix this failing test?
正確答案: B
說明:(僅 Fast2test 成員可見)
A developer is developing a reusable Aura component that will reside on an sObject Lightning page with the following HTML snippet:

How can the component"5 controller get the context of the Lightning page that the sObject is on without requiring additional test coverage?

How can the component"5 controller get the context of the Lightning page that the sObject is on without requiring additional test coverage?
正確答案: A
說明:(僅 Fast2test 成員可見)
A developer has a requirement to query three fields (Id, Name, Type) from an Account; and first and last names for all Contacts associated with the Account.
Which option is the preferred, optimized method to achieve this for the Account named 'Ozone Electronics'?
A)

B)

C)

D)

Which option is the preferred, optimized method to achieve this for the Account named 'Ozone Electronics'?
A)

B)

C)

D)

正確答案: C
Universal Containers develops a Salesforce application that requires frequent interaction with an external REST API.
To avoid duplicating code and improve maintainability, how should they implement the APL integration for code reuse?
To avoid duplicating code and improve maintainability, how should they implement the APL integration for code reuse?
正確答案: B
說明:(僅 Fast2test 成員可見)
A developer is asked to build a solution that will automatically send an email to the customer when an Opportunity stage changes. The solution must scale to allow for 10,000 emails per day. The criteria to send the email should be evaluated after certain conditions are met.
What is the optimal way to accomplish this?
What is the optimal way to accomplish this?
正確答案: D
說明:(僅 Fast2test 成員可見)