Salesforce Certified Platform Developer II - Multiple Choice Plat-Dev-301 Prüfungsfragen mit Lösungen:
1. A company wants to incorporate a third-party weh service to set the Address fields when an Account is inserted, if they have not already been set.
What is the optimal way to achieve this?
A) Create a Workflow Rule, execute a Queueable job from it, and make a callout from the Queueable job.
B) Create a Before Save Flow, execute a Queueable job from it, and make a callout from the Queusable job.
C) Create a Process, execute a Quaueable job from it, and make a callout from the Queueable job.
D) Create an Apex trigger, execute a Queueable job from it, and make a callout from the Queueable job.
2. A developer is writing code that requires making callouts to an external web service.
Which scenario necessitates that the callout be made in an asynchronous method?
A) Over 10 callouts will be made in a single transaction.
B) The callouts will be made in an Apex trigger.
C) The callouts will be made using the REST APL.
D) The callout could take longer than 60 seconds to complete.
3. A developer created a Lightning web component that uses a Lightning_record_edit_fom to collect Information about Leads. Users complain that they only see one error message at a time about their input when trying to save a Lead record.
Which best practice should the developer use to perform the validations on more than one held, thus allowing more than one error message to be displayed simultaneously?
A) Next Best Action
B) Apex REST
C) Client_side validation
D) Custom validation rules
4. 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?
A) Use MassEmailMEssage () With an Apex trigger.
B) Use an Email Alert with Flow Builder.
C) Use a Workflow Email Alert.
D) Use SingleEmailMessage() with an Apex trigger.
5. An Apex trigger and Apex class increment a counter, Edit __C, any time the Case is changed.
A)
B)
C)
D)
A) Option C
B) Option B
C) Option D
D) Option A
Fragen und Antworten:
| 1. Frage Antwort: D | 2. Frage Antwort: B | 3. Frage Antwort: C | 4. Frage Antwort: B | 5. Frage Antwort: A |






776 Kundenbewertungen

