Salesforce Application Developer-I Part 6


Q 201. Universal containers has a custom object “service” which has a lookup relationship to Account. Universal containers wants to enhance Salesforce1 with an action that allows account managers to enter a new service to an Account while looking at the account?
A. Enter an object specific action to Service and put it in the Account Layout
B. Enter an object specific action to Service and put it in the Service Layout
C. Enter an object specific action to Account and put it in the Account Layout
D. Enter an object specific action to Account and put it in the Service Layout
Ans C. Enter an object specific action to Account and put it in the Account Layout
Q202 What determines whether a user can create a new record using a specific record type?
A. Profile
B. Page layout
C. Field level security
D. Sharing
Ans A. Profile
Q203 Which statements are true regarding Roll-Up Summary fields? Select all that apply
A. Advanced currency management has no affect on roll-up summary fields.
B. Because roll-up summary fields are not displayed on edit pages, you can use them in validation rules but not as the error location for you validation.
C. Validation errors can display when saving either the detail or master record.
D. Automatically derived fields, such as current date or current user, are allowed in a roll-up summary field.
E. Once created, you cannot change the detail object selected or delete any field referenced in your roll-up summary definition.
Ans B. Because roll-up summary fields are not displayed on edit pages, you can use them in validation rules but not as the error location for you validation.
C. Validation errors can display when saving either the detail or master record.
E. Once created, you cannot change the detail object selected or delete any field referenced in
your roll-up summary definition.
Q204 What happens when a workflow is re-evaluated? Pick 3
A. Validation
B. Cross-object sharing rules
C. Other Workflow types
D. Previous Workflows
Ans B. Cross-object sharing rules
C. Other Workflow types
D. Previous Workflows
Q205 Which components can be added to a lightning app on custom Object? Choose 3
A. Standard Lightning component
B. Custom lightning component
C. Object specific actions on the custom object
D. Global actions
E. Visualforce
Ans A. Standard Lightning component
B. Custom lightning component
D. Global actions
Q206 A developer executes following code in Console. What will happen?
listflist = new list();
for(integer i=1;i