
SF D1
Authored by Jose S
Professional Development
Professional Development
Used 59+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
60 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
There
is a requirement to validate that the country code of an account field is a
valid ISO code. There are over 200 codes. What could be used for this
validation?
Before Update trigger on Account
Validation Rule
Formula Field
After Update trigger on Account
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A requirement has been given to display the average value of won opportunities on the Account page layout. How can this be best achieved?
Use a trigger on the opportunity object
Use a trigger on the account object
Use roll-up summary fields and a formula field
Use a roll-up summary field with the average function
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How can a developer check if the current user is able to delete the current object?
Use the isDeletable() method of the DescribeSObjectResult Class
Use the canDelete() method of the DescribeSObjectResult Class
Use the Deletable() method of the SObjectResult Class
Use the canDelete() method of the SObjectResult Class
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
An organization has enabled Multiple Currencies. A developer needs to calculate the total of the Estimated_value__c on CampaignMember object using a roll-up summary field on Campaign object named Total_estimated_value__c. What will be the currency of the Total_estimated_value__c field?
The field values in Estimated_value__c from CampaignMember object are converted into the currency of the current user, and the Total_estimated_value__c is shown using the currency of the current user on the Campaign.
The field values in Estimated_value__c from CampaignMember object are summed up, and the Total_estimated_value__c field is shown as a Number field on the Campaign.
The field values in Estimated_value__c are converted into the currency of the majority of the CampaignMember records, and the Total_estimated_value__c is shown using that currency.
The field values in Estimated_value__c from CampaignMember object are converted into the currency of the Campaign, and the Total_estimated_value__c is shown using the currency of the Campaign.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
String
is one of the primitive data types in Salesforce. Given the following
options, what is a valid value that a string data type variable can
contain?
‘Salesforce’
3.14159
TRUE
"Salesforce"
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The following code snippet fails during bulk data load. What is the root cause?
No update DML over list of Contacts
SOQL query is located inside the for loop code.
Condition is invalid and will always be null.
Variable 'con' is not declared.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A developer can develop code to insert records that will allow successful inserts and will record errors for unsuccessful records. This is called partial processing. However, this method will not throw an exception. How should a developer handle the possible exceptions?
Use Database.EachResult Class
Use Database.SuccessResult Class
Use Database.SaveResult Class
Use Database.ErrorResult Class
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?