Salesforce Platform Developer I (PDI) - PDI 模擬練習

(Full question statement)
Universal Containers wants Opportunities to no longer be editable when they reach the Closed/Wonstage.
Which two strategies can a developer use to accomplish this?
Choose 2 answers.

正解: B,D
解説: (PassTest メンバーにのみ表示されます)
An org has an existing flow that edits an Opportunity with an Update Records element. A developer must update the flow to also create a Contact and store the created Contact's ID on the Opportunity.
Which update must the developer make in the flow?

正解: D
解説: (PassTest メンバーにのみ表示されます)
What is the result of the following code?

正解: A
解説: (PassTest メンバーにのみ表示されます)
A development team wants to use a deployment script to automatically deploy to a sandbox during their development cycles.
Which two tools can they use to run a script that deploys to a sandbox?
Choose 2 answers

正解: A,D
解説: (PassTest メンバーにのみ表示されます)
Universal Containers decided to transition from Classic to Lightning Experience. They asked a developer to replace a JavaScript button that was being used to create records with prepopulated values.
What can the developer use to accomplish this?

正解: C
解説: (PassTest メンバーにのみ表示されます)
A developer needs to confirm that a Contact trigger works correctly without changing the organization's data.
What should the developer do to test the Contact trigger?

正解: C
解説: (PassTest メンバーにのみ表示されます)
A Primaryld_c custom field exists on the Candidate _c custom object. The field is used to store each candidate's id number and is marked as Unique in the schema definition.
As part of a data enrichment process, Universal Containers has a CSV file that contains updated data for all candidates in the system. The file contains each Candidate's primary .. as a data point. Universal Containers wants to upload this information into Salesforce, while ensuring all data rows are correctly mapped to a candidate in the system.
Which technique should the developer implement to streamline the data upload?

正解: D
解説: (PassTest メンバーにのみ表示されます)
A software company uses the following objects and relationships:
* Case: to handle customer support issues
* Defect__c: a custom object to represent known issues with the company's software
* Case Defect__c a junction object between Case and Defect __c to represent that a defect is a cause of a customer issue Case and Defect__c have Private organization-wide defaults.
What should be done to share a specific Case_Defect__c record with a user?

正解: D
解説: (PassTest メンバーにのみ表示されます)
Universal Containers wants to back up all of the data and attachments in its Salesforce org once a month.
Which approach should a developer use to meet this requirement?

正解: C
解説: (PassTest メンバーにのみ表示されます)
Universal Containers decides to use purely declarative development to build out a new Salesforce application.
Which two options can be used to build out the business logic layer for this application?
Choose 2 answers

正解: B,D
解説: (PassTest メンバーにのみ表示されます)
Universal Containers wants to automatically assign new cases to the appropriate support representative based on the case origin. They have created a custom field on the Case object to store the support representative name.
What is the best solution to assign the case to the appropriate support representative?

正解: A
解説: (PassTest メンバーにのみ表示されます)
Which code in a Visualforce page and/or controller might present a security vulnerability?

正解: D
解説: (PassTest メンバーにのみ表示されます)
(Full question statement)
A developer must create a CreditCardPayment class that provides an implementation of an existing Payment class.
public virtual class Payment {
public virtual void makePayment(Decimal amount) {
// implementation
}
}
Which is the correct implementation?

正解: A
解説: (PassTest メンバーにのみ表示されます)
While developing an Apex class with custom search functionality that will be launched from a Lightning Web Component, how can the developer ensure only records accessible to the currently logged in user are displayed?

正解: B
解説: (PassTest メンバーにのみ表示されます)
A developer has the following requirements:
* Calculate the total amount on an Order.
* Calculate the line amount for each Line Item based on quantity selected and price.
* Move Line Items to a different Order if a Line Item is not in stock.
Which relationship implementation supports these requirements on its own?

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