CRT-450 無料問題集「Salesforce Certified Platform Developer I」
Universal Containers is building a recruiting app with an Applicant object that stores information about an individual person and a Job object that represents a job. Each applicant may apply for more than one job.
What should a developer implement to represent that an applicant has applied for a job?
What should a developer implement to represent that an applicant has applied for a job?
正解:D
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple sObjects. The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on the initial URL.
Which three statements are useful inside the unit test to effectively test the custom controller?
Choose 3 answers
Which three statements are useful inside the unit test to effectively test the custom controller?
Choose 3 answers
正解:A、C、D
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
A developer considers the following snippet of code:
Boolean isOK;
Integer x;
String theString = 'Hello';
if (isOK == false && theString == 'Hello') {
x = 1;
} else if (isOK == true && theString == 'Hello') {
x = 2;
} else if (isOK == null && theString == 'Hello') {
x = 3;
} else {
x = 4;
}
Based an this code, what is the value of x?
Boolean isOK;
Integer x;
String theString = 'Hello';
if (isOK == false && theString == 'Hello') {
x = 1;
} else if (isOK == true && theString == 'Hello') {
x = 2;
} else if (isOK == null && theString == 'Hello') {
x = 3;
} else {
x = 4;
}
Based an this code, what is the value of x?
正解:A
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
Universal Containers is developing a new Lightning web component for their marketing department. They want to ensure that the component is fine-tuned and provides a seamless user experience.
What are some benefits of using the Lightning Component framework?
What are some benefits of using the Lightning Component framework?
正解:A、C、D
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
Consider the following code snippet:
public static List<Lead> obtainAllFields(Set<Id> leadIds) {
List<Lead> result = new List<Lead>();
for (Id leadId : leadIds) {
result.add([SELECT FIELDS(ALL) FROM Lead WHERE Id = :leadId]);
}
return result;
}
Given the multi-tenant architecture of the Salesforce platform, what is a best practice a developer should implement to ensure successful execution of the method?
public static List<Lead> obtainAllFields(Set<Id> leadIds) {
List<Lead> result = new List<Lead>();
for (Id leadId : leadIds) {
result.add([SELECT FIELDS(ALL) FROM Lead WHERE Id = :leadId]);
}
return result;
}
Given the multi-tenant architecture of the Salesforce platform, what is a best practice a developer should implement to ensure successful execution of the method?
正解:C
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)