Pregunta 1
Pregunta
How would a developer determine if a CustomObject__c record has been manually shared with the current user in Apex?
Respuesta
-
By querying the role hierarchy.
-
By calling the isShared() method for the record.
-
By querying CustomObject__Share.
-
By calling the profile settings of the current user.
Pregunta 2
Pregunta
Which trigger event allows a developer to update fields in the Trigger.new list without using an additional DML statement? (Choose 2)
Respuesta
-
After update.
-
Before insert.
-
Before update.
-
After insert.
Pregunta 3
Pregunta
What is a valid way of loading external JavaScript files into a Visualforce page?
(Choose 2)
Pregunta 4
Pregunta
Where would a developer build a managed package?
Respuesta
-
Developer Sandbox
-
Unlimited Edition
-
Partial Copy Sandbox
-
Developer Edition
Pregunta 5
Pregunta
What is the correct way to describe how Model-View-Controller (MVC) architecture is implemented on the Salesforce platform?
Respuesta
-
Model: Standard and Custom Objects; View: Visualforce Pages; Controller: s-Controls
-
Model: Schema Builder; View: List Views; Controller: Setup Console
-
Model: Standard and Custom Objects; View: Visualforce Pages; Controller: Apex Code
-
Model: Apex Code; View: List Views; Controller: Setup Console
Pregunta 6
Pregunta
What is valid in the where clause of a SOQL query?
Respuesta
-
A geolocation field.
-
An encrypted field.
-
An aggregate function.
-
An alias notation.
Pregunta 7
Pregunta
A developer creates a method in an Apex class and needs to ensure that errors are handled properly. What would the developer use?
Choose 3 answers.
Pregunta 8
Pregunta
In the Lightning Component framework, where is client-side controller logic contained?
Respuesta
-
Apex
-
Visualforce
-
HTML
-
JavaScript
Pregunta 9
Pregunta
Which use case requires a partial copy or full sandbox?
Choose 3 answers.
Pregunta 10
Pregunta
Universal containers wants to rollout new product bundles with several pricing options. Pricing options include product-price bundles, account specific pricing and more. Which product satisfies the needs?
Respuesta
-
Workflow on Opportunity/Opportunity Product
-
Custom Appexchange-app for product-pricing
-
Formula fields on Opportunity/Opportunity Product
-
Lightning process builder
Pregunta 11
Pregunta
Universal containers has included its orders as an external data object into Salesforce. You want to create a relationship between Accounts and the Orders object (one-to-many relationship) leveraging a key field for account which is on both external object and Account. Which relationship do you create?
Respuesta
-
Master Detail Relationship
-
Indirect Lookup Relationship
-
Lookup Relationship
-
Hierarchical Relationship
-
External Lookup Relationship
Pregunta 12
Pregunta
Universal containers has a custom object that has a N:M relationship with opportunityLineItem carrying price and amount information. In order to compute total amounts and total prices per Opportunity using Rollup summary fields, what field type will you use?
Respuesta
-
Crossobject
-
Lookup
-
Master-Detail
-
Junction
Pregunta 13
Pregunta
Universal containers want an org for development which can be refreshed in every 5 days with all the configuration and some data. What org do you choose?
Respuesta
-
Developer Sandbox
-
Developer Pro Sandbox
-
Partial copy sandbox
-
Full Sandbox
Pregunta 14
Pregunta
Which Apex collection is used to ensure all values are unique?
Pregunta 15
Pregunta
Universal Container installs an unmanaged package. Which of the following are true?
Choose 2.
Respuesta
-
Tests are executed during deployment
-
Unmanaged packages can be upgraded
-
Unmanaged packages don't have a version number
-
Unmanaged packages have a namespace prefix
-
Components of unmanaged packages can be edited
Pregunta 16
Pregunta
Universal Container want to store an area code and wants to be able to search for it in searches. Which are possible fields to store the data?
(choose 2)
Respuesta
-
Phone
-
Email
-
Text
-
Multi Picklist
Pregunta 17
Pregunta
132. 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?
Respuesta
-
Enter an object specific action to Service and put it in the Account Layout
-
Enter an object specific action to Service and put it in the Service Layout
-
Enter an object specific action to Account and put it in the Account Layout
-
Enter an object specific action to Account and put it in the Service Layout
Pregunta 18
Pregunta
What determines whether a user can create a new record using a specific record type?
Respuesta
-
Profile
-
Page layout
-
Field level security
-
Sharing
Pregunta 19
Pregunta
Which statements are true regarding Roll-Up Summary fields?
Select all that apply
Respuesta
-
Advanced currency management has no affect on roll-up summary fields.
-
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.
-
Validation errors can display when saving either the detail or master record.
-
Automatically derived fields, such as current date or current user, are allowed in a roll-up summary field.
-
Once created, you cannot change the detail object selected or delete any field referenced in your roll-up summary definition.
Pregunta 20
Pregunta
What happens when a workflow is re-evaluated?
Pick 3
Pregunta 21
Pregunta
Which components can be added to a lightning app on custom Object?
Choose 3
Respuesta
-
Standard Lightning component
-
Custom lightning component
-
Object specific actions on the custom object
-
Global actions
-
Visualforce
Pregunta 22
Pregunta
A developer executes following code in Console. What will happen?
list<Account> flist = new list<Account>();
for(integer i=1;i<=200 ;i++){
flist.add(new Account(name='Test Acc'+i));
}
insert flist;
list<Account> Llist = new list<Account>();
for(integer i=201;i<=20000 ;i++){
Llist.add(new Account(name='Test Acc'+i));
}
insert Llist ;
Respuesta
-
Error will occur
-
Insert all records
-
Insert 200 only
-
Records inserted
Pregunta 23
Pregunta
Developer need to verify that the account trigger is working fine without changing Org data. What should the developer do to test the Account trigger?
Respuesta
-
Use New button on Account tab to create new record
-
Use the test menu on developer console to run all test classes for the account trigger.
-
Use force.com IDE
-
Use Execute Anonymous feature on developer console
Pregunta 24
Pregunta
Which is true about social accounts?
Respuesta
-
You can use social accounts data even when you are not logged into the social account.
-
You need a personal social account in order to see social account data
-
You can use social accounts to import data into Salesforce
-
Connection to social account is established through a company wide "named principal"
Pregunta 25
Pregunta
Field type conversion. Which of the following are true?
(choose 2)
Respuesta
-
Data can be lost when converting from autonumber to text
-
Information can be lost when converting from text area (rich) to text area (long)
-
Data can be lost when converting from number to currency (assuming that field lengths are identical)
-
Data can be lost when converting from simple picklist to multi picklist
Pregunta 26
Pregunta
Universal Container is using assignment rules to distribute cases to regional teams. Which of the following are true?
Respuesta
-
It is possible to have multiple active assignment rules
-
Cases may be assigned to public groups (if configured)
-
Cases may be assigned to queues (if configured)
-
A workflow field update can be used instead
Pregunta 27
Pregunta
You want to use an External Data Object Table from Heroku carrying Product Category information. The data need to be included in Salesforce and searchable. What do you have to do before you can use the connection?
Choose two
Respuesta
-
Choose "include as index field"
-
Press "validate and sync"
-
Choose "include in Salesforce searches" option
-
URL / choose the URL (?)
Pregunta 28
Pregunta
Objects of this Apex class allow developers to create list controllers similar to, or as extensions of, the pre-built Visualforce list controllers provided by Salesforce.
Respuesta
-
StandardSetController Class
-
StandardController Class
-
Controller Class
-
VisualforceSetController Class
-
VisualforceControllerClass
-
None of the above
Pregunta 29
Pregunta
Which portion of the Model-View-Controller paradigm is represented in Force.com as a standard or custom object?
Pregunta 30
Pregunta
What must a developer consider when inserting records using an API-based tool?
Choose 2
Respuesta
-
Required fields on page layouts are enforced.
-
Universally required field settings are respected.
-
Apex triggers are ignored.
-
Validation rules are respected.
Pregunta 31
Pregunta
Universal Containers has built a recruiting application with two custom objects, Job Applications
and Reviews that have a master-detail relationship. Users should NOT be allowed to delete review
records after job application records have been approved.
How would a developer meet this requirement?
Respuesta
-
Change the interviewer's profile to Read-only for the review object
-
Use workflow to change the page layout to Read-only
-
Remove the Delete button from the job application page layout
-
Use a validation rule in conjunction with a roll-up summary field
Pregunta 32
Pregunta
Universal Container want to store an area code and wants to be able to search for it in applications (apex). Which are possible fields to store the data?
Choose 2
Respuesta
-
Email
-
Multi Picklist
-
Text
-
Number
-
Phone
Pregunta 33
Pregunta
What can a lightning component contain in its resource bundle?
Choose two answers.
Respuesta
-
Custom Client-side rendering behavior.
-
Properties files with global settings.
-
CSS styles scoped to the component.
-
Build scripts for minification.
Pregunta 34
Pregunta
Describe the ramifications of field updates and potential for recursion for the following scenario: If a field update for Rule1 triggers Rule2, and a field update for Rule2 triggers Rule1.
Respuesta
-
The updates create a loop and the org limits for workflow time triggers per hour will likely be violated.
-
When the second trigger is saved a Imminent Loop Error message will be displayed and the workflow rule update will not save.
-
The updates create a loop and the org will be blocked until the admin resolves the issue.
-
Loop is allowed to run 25 times within one hour. If it does not end on its own the process will be stopped by R&D.
Pregunta 35
Pregunta
How would a developer change the field type of a custom field on account object from a string to an integer?
Respuesta
-
Make the change in the declarative UI, then update the field type to an integer field in-the apex code.
-
Remove all references in the code, make the change in the declarative UI, and restore the references with the new type.
-
Make the change in the developer console, and then the change will automatically be reflected in the apex.
-
Make the change in the declarative UI, and then the change will automatically be reflected in the apex code.