Salesforce Developer 2015 Flashcards
Universal Containers has built a recruiting application with 2 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?
A. Change the interviewer’s profile to Read?only for the review object
B. Remove the delete button from the job application page layout
C. Use workflow to change the page layout to Read?only
D. Use a validation rule in conjunction with a roll?up summary field
D. Use a validation rule in conjunction with a roll?up summary field
A developer need to support multiple currencies for a custom object in an application. The multi?currency feature has been enabled for the organization. What does the developer need to know in order to successfully support this application? Choose 2 answers.
A. The multi?currency feature will automatically track historical exchange rates.
B. Roll?up summary fields on a parent record will calculate incorrectly if the child records have multiple currencies
C. Admins can add additional currencies after the application has been built
D. Currency ISO code will need to be supplied when inserting records in different currencies.
C. Administrators can add additional currencies after the application has been built
D. Currency ISO code will need to be supplied when inserting records in different currencies
In a recruiting application, a Position custom object is related to a Salary custom object. Sensitive information such as current salary, is stored on the Salary object. All users should be able to at least view position information. However, only select individuals should be able to read salary records. How should a developer accomplish this?
A. Create a master?detail relationship between Position and Salary; set organization?wide defaults to Public Read?Only for Position and Private for Salary
B. Create a lookup relationship between Position and Salary; set organization?wide defaults to Private for Position and Salary
C. Create a lookup relationship between Position and Salary; set organization?wide defaults to Public Read?Only for Position and Private for Salary
D. Create a master?detail relationship between Position and Salary; set organization?wide defaults to Private for Position and for Salary
C. Create a lookup relationship between Position and Salary; set organization?wide defaults to Public Read?Only for Position and Private for Salary
Which portion of Model?View?Controller paradigm is represented in Force.com as a standard or custom object?
A. Controller
B. Model
C. View
B. Model
Which statement is TRUE about field?level security? Choose 2 answers.
A. It can be controlled at record level
B. It is specified for each profile
C It determines the values displayed in a visible picklist field
D. It is enforced in the SOAP?API; It can be enforced in Web services
B. It is specified for each profile
D. It is enforced in the SOAP?API; It can be enforced in Web services
Positions is a custom object in a recruiting application built on the Force.com platform. Department is a field on the Position object. Which type of report should a developer create to show hiring managers the number of positions grouped by department? A. Tabular B. Pivot C. Summary D. Analytic Snapshot
C. Summary
In which Salesforce environments will the Force.com record IDs be identical?
A. Production and Full Copy Sandbox only
B. Production and Full Copy Sandbox, and Developer Sandbox
C. Force.com record ID’s are never identical
D. Production and Developer Sandbox only
A. Production and Full Copy Sandbox only
Universal Containers tracks Positions as a custom object in a recruiting application. When position records are created, they have a status of New and are visible to only the position owner. Once a position goes through an approval process, the status is changed to Approved. Approved positions should be visible to the entire organization. How can a developer meet this requirement? Choose 2 answers.
A. Create a criteria?based sharing rule that states that Approved positions are shared with the entire organization
B. Create a workflow field update that updates a custom field called Sharing on a position once the status is Approved
C. Created and Apex trigger that automatically updates sharing on a position once the status is Approved.
D. Create a formula field that updates the sharing on a position once the status changes to Approved
A. Create a criteria?based sharing rule that states that Approved positions are shared with the entire organization
C. Created and Apex trigger that automatically updates sharing on a position once the status is Approved.
How does a developer enable users to access tags in the sidebar? Choose 3 answers.
A. By enabling tags for the organization
B. By adding tags to the sidebar in the home page layout
C. By enabling tags on user’s profile
D. By enabling tags on the page layout for an object
E. By enabling tags for public groups
A. By enabling tags for the organization
B. By adding tags to the sidebar in the home page layout
D. By enabling tags on the page layout for an object
In recruiting application, a custom object called Position requires approval. When a position record is submitted for approval, the requirements below must be met:
- The hiring manager must approve the record
- The approval must be forwarded to all members of the executive team, but only one executive needs to approve the record
- The VP of Human Resources must approve the record
How would a developer meet this requirement?
A. Create parallel workflow rules, requiring at least one executive team member to complete their assigned task
B. Create multiple approval processes, one for each executive team member and utilize parallel submission
C. Create an approval process with a step for each executive team member, allowing approval steps to be skipped
D. Create an approval process which utilizes parallel approvers, but does not require unanimous approval
D. Create an approval process which utilizes parallel approvers, but does not require unanimous approval
A user can only see the fields A, B, and C on a record of Object X until the Stage field value on the record changes from New to Working. Once the State field value is updated to Working and the record is saved, the user should be able to see fields A, B, C, and D. How would an application developer configure this?
A. Use multiple Visualforce pages
B. Use workflow to change the field?level security
C. Use workflow to change the record type
D. Use validation rules to expose the field
A. Use multiple Visualforce pages
Which is a valid data type for a custom formula field? Choose 3 answers A. Checkbox B. Date C. Email D. Currency E. Percent
B. Date
D. Currency
E. Percent
Which statement is TRUE about master?detail relationships in the Force.com platform? Choose 2 answers.
A. The master?detail relationship field is required on the page layout of the detail record
B. When defining a master?detail relationship, the custom object on which you are working is the master
C. The security settings for the master record control the detail record
D. When a master record is deleted, the child records remain in the system without a master record
A. The master?detail relationship field is required on the page layout of the detail record
C. The security settings for the master record control the detail record
Which type of custom field can be an external ID?
A. Text, Number, or Formula fields only
B. Custom field of any type
C. Text, Email, or Number fields only
D. Phone number, Email, URL , and Text?based fields
C. Text, Email, or Number fields only
What is a junction object?
A. A standard object with two master?detail relationship
B. A standard object with a master?detail relationship
C. A custom object with a master?detail relationship
D. A custom object with two master?detail relationships
D. A custom object with two master?detail relationships
Which feature is available for custom objects? Choose 3 answers A. Field history tracking B. Assignment rules C. Criteria?based sharing D. Queues
A. Field history tracking
C. Criteria?based sharing
D. Queues
In a recruiting application, salary requirements are tracked in a custom object. An approval process is built that will route all salary requirements less than 100,000 USD to the recruiter for automatic approval. In the same approval process, salary requirements greater than 100,000 USD are routed directly to the VP of Human Resources. What must be done to initiate the approval process that will route the appropriate records to the VP for approval?
A. Execute the approval process by clicking on the Submit for Approval button on the record’s detail page layout
B. Create a workflow rule that will evaluate salary amount and trigger the approval process if the salary is greater than 100,000 USD
C. Create a workflow rule that evaluates salary amount and send a notification to the FP if the salary is greater than 100,000 USD
D. Save the record so it will automatically be entered into the approval process
A. Execute the approval process by clicking on the Submit for Approval button on the record’s detail page layout
What must a developer consider when inserting records using an API?based tool? Choose 2 answers.
A. Universally required field settings are respected
B. Apex triggers are ignored
C. Required fields on page layouts are enforced
D. Validation rules are respected
A. Universally required field settings are respected
D. Validation rules are respected
Universal containers tracks reviews as a custom object in a recruiting application. An interview score is tracked on each review record and should be numerical, so that hiring managers can perform score calculations. The scores should be restricted to integer values 1 through 5 and displayed as a set of radio buttons. How can a developer meet this requirement?
A. Create a formula field that displays the interview score as a set of radio buttons
B. Create a Visualforce component to display the interview score as a set of radio buttons
C. Create the Interview Score field with a data type of radio button
D. Create the interview score field as a picklist, displayed as a radio button on the pane layout
B. Create a Visualforce component to display the interview score as a set of radio buttons
When performing an update with the Data Loader, the comma?delimited file must contain a column with which values?
A. The profile names of the record owners
B. The created time and date of the records
C. The Force.com record ID values of the records
D. The logical names of the records
C. The Force.com record ID values of the records
A developer would like to enable end users to filter the data displayed on the related list of an object detail page. How could a developer accomplish this?
A. Customize the search filter fields layout for that object
B. Enable Advanced Search on the object’s related list
C. Create a Visualforce page to replace the object detail view
D. Configure the object’s related list to add a filter
C. Create a Visualforce page to replace the object detail view
Which action is available to a developer when by a lookup relationship? Choose 2 answers.
A. Create a roll?up summary field on the parent object to count child records
B. Create a cross?object formula field on the parent object to reference fields on the child object
C. Create a custom report type that allows customization of fields displayed from both parent and child objects
D. Create a cross?object formula field on the child object to reference fields on the parent object
C. Create a custom report type that allows customization of fields displayed from both parent and child objects
D. Create a cross?object formula field on the child object to reference field on the parent object
Which statement is TRUE about the custom object import wizard?
A. It can import, upsert, update, delete, and export data
B. It can perform matching based on record ID only
C. It can provide success and error files in .csv format
D. It can prevent the import of duplicate records
D. It can prevent the import of duplicate records
Give a three tier model (UI layer, business logic layer, data layer), which feature of the Force.com platform associated with the data layer? Choose 3 answers. A. Custom fields B. Custom tabs C. Custom relationships D. Custom objects E. Custom applications
A. Custom fields
C. Custom relationships
D. Custom objects