PDI 無料問題集「Salesforce Platform Developer I (PDI)」

Assuming that name is a String obtained by a Visualforce page, which two SOQL queries performed are safe from SOQL injection? (Choose two.)

正解:B、D 解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
A developer needs to allow users to complete a form on an Account record that will create a record for a custom object.
The form needs to display different fields depending on the user's job role, The functionality should only be available to a small group of users.
Which three things should the developer do to satisfy these requirements?
Choose 3 answers

正解:B、C、E 解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
In terms of the MVC paradigm, what are two advantages of implementing the view layer of a Salesforce application using Lightning Web Component-based development over Visualforce?
Choose 2 answers

正解:C、D 解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
(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?

解説: (JPNTest メンバーにのみ表示されます)
A developer creates a batch Apex job to update a large number of records, and receives reports of the job timing out and not completing.
What is the first step towards troubleshooting the issue?

解説: (JPNTest メンバーにのみ表示されます)
The following Apex method is part of the ContactService class that is called from a trigger:

How should the developer modify the code to ensure best practices are met?
A)

B)

C)

D)

解説: (JPNTest メンバーにのみ表示されます)
Which three statements are accurate about debug logs?
Choose 3 answers

正解:A、B、E 解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
Refer to the following Apex code:
apex
Copy
Integer x = 0;
do {
x++;
} while (x < 1);
System.debug(x);
What is the value of x when it is written to the debug log?

解説: (JPNTest メンバーにのみ表示されます)
A developer identifies the following triggers on the Expense _c object:

The triggers process before delete, before insert, and before update events respectively.
Which two techniques should the developer implement to ensure trigger best practices are followed?
Choose 2 answers

正解:B、D 解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
Management asked for opportunities to be automatically created for accounts with annual revenue greater than $1, 000,000. A developer created the following trigger on the Account object to satisfy this requirement.
for (Account a : Trigger.new) {
if (a.AnnualRevenue > 1000000) {
List<Opportunity> oppList = [SELECT Id FROM Opportunity WHERE AccountId = :a.Id]; if (oppList.size() == 0) { Opportunity oppty = new Opportunity(Name = a.Name, StageName = 'Prospecting', CloseDate = System.
today().addDays(30));
insert oppty;
}
}
}
Users are able to update the account records via the UI and can see an opportunity created for high annual revenue accounts. However, when the administrator tries to upload a list of 179 accounts using Data Loader, it fails with system, Exception errors.
Which two actions should the developer take to fix the code segment shown above?
Choose 2. answers

正解:B、D 解答を投票する
解説: (JPNTest メンバーにのみ表示されます)

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡