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
Which developer tool can be used to create a data model? A. Schema Builder B. Force.com Data Loader C. Application Data Model wizard D. Force.com IDE
A. Schema Builder
D. Force.com IDE
Which mechanism allows for authenticated access to a Force.com site? Choose 2 answers.
A. It is not possible to provide authentication for a Force.com Site
B. An active Customer Portal
C. An active Partner Portal
D. Setting restricted IP ranges for your site
B. An active Customer Portal
C. An active Partner Portal
In a recruiting application , a master?detail relationship has been defined between to custom objects, Job applications (master) and Reviews (detail). Which statement is TRUE. Choose 2 answers.
A. Review records may exist without an associated job application
B. The master?detail relationship between Job Applications and Reviews is defined on the Job Application object
C. Deleting a Job Application record will delete associated review records
D. Review records will inherit ownership from the associate Job Application
C. Deleting a Job Application record will delete associated review records
D. Review records will inherit ownership from the associated Job Application
What can be viewed using the process visualizer? A. Support processes B. Sales Processes C. Approval processes D. Workflow Rule
C. Approval processes
Which dashboard component displays a grand total across a set of data? Choose 2 answers A. Table B. Chart C. Pivot D. Metric
A. Table
D. Metric
Users X and Y need to see the same candidate record. For security reasons, user Y should not be able to report on the Email Address field on the record. How would a developer meet this requirement?
A. Use field?level security to make the email address visible to user X but not user Y
B. Use a sharing rule to make the email address only visible to user X
C. Use a custom Visualforce page to make the email address visible to user X but not user Y
D. Use page layouts to make the email address visible to user X but not user Y
A. Use field?level security to make the email address visible to user X but not user Y
A developer wants to build an application on the Force.com platform. The data model, the users needing access to the application, and the application business logic have been considered. The report and dashboard requirements have not been considered. Which statement is TRUE about building the application?
A. The dashboard will not be visible to management users
B. The data model may not support the required reports/required security controls
C. The data model may not support the required business logic
D. The developer will not be able to load application data
B. The data model may not support the required reports/required security controls
How can a wireless device user approve a record? Choose 3 answers.
A. Via voice recognition
B. Via Approvals in Chatter
C. Via email from a wireless devices
D. Via a text message
E. Via a mobile browser that supports access to the Salesforce web application
B. Via approvals in Chatter
C. Via email from a wireless device
E. Via mobile browser that support access to the Salesforce web application
For objects where data access is granted through the role hierarchy, how is access granted?
A. Users are only granted read access to data owned by users above them in the role hierarchy
B. Users are granted access to data accessible by users blow them in the role hierarchy
C. Users are granted access to data accessible to users in the same role in the role hierarchy
D. Users are only granted access to data owned by users below them in the role hierarchy
D. Users are only granted access to data owned by users below them in the role hierarchy
Universal Containers tracks Offers as an object in a recruiting application. Once an offer has been accepted by a candidate, there must be a value in a currency field called Actual Salary. How would a developer meet this requirement?
A. Create a validation rule to make actual salary required each time the offer record is saved
B. Create a field dependency between the salary amount and status of accepted
C. Create a workflow field update to set the property of the actual salary field to required
D. Create a validation rule to make sure that the actual salary is not null whenever an offer is accepted
D. Create a validation rule to make sure that the actual salary is not null whenever an offer is accepted
Which statement is true regarding Force.com sites? Choose 3 answers.
A. Site can leverage declarative page layouts as web pages
B. Sites enables developers to build public, unauthenticated websites
C. Sites are built with Visualforce pages
D. Sites leverage data and content in a Salesforce org
A. Sites can leverage declarative page layouts as web pages
C. Sites are built with Visualforce pages
D. Sites leverage data and content in a Salesforce org
Which field is available as part of the translation workbench for a validation rule? A. Error message B. Description C. Rule Criteria D. Formula
A. Error message
Which property of a field can be edited within the page layout editor? Choose 2 answers. A. Always displayed B. Required C. Field Dependency D. Controller E. Read?only
B. Required
E. Read?only
What is not a component of a custom Force.com application? A. Default landing tab B. Data warehouse C. Custom tab D. Custom object
B. Data warehouse
What can cross?object formulas reference? A. Parent object records only B. Other records of the same object C. Both parent and child object records D. Child object records only
A. Parent object records only
A business requirement can be met by using either a formula field or an Apex trigger. Why would a developer use a formula field instead of an Apex trigger? Choose 2 answers.
A. Formula fields do not require test methods to deploy
B. Formula fields allow greater control and flexibility that Apex triggers
C. Formula fields can aggregate data from child records
D. Formula fields can be created and deployed using only a browser
A. Formula fields do not require test methods do deploy
D. Formula fields can be created and deployed using only a browser
Object B has a lookup relationship to Object A. Object C has a lookup relationship to Object A. A developer needs to run a report on A records with C records. How can the developer accomplish this?
A. Create a summary report with a custom summary formula summarizing by A, then B, then C
B. Create a custom report type that includes A with B with C
C. Create a matrix report with A and B records as column headings and C records as row headings
D. Run a report using the standard report type: A with B with C
B. Create a custom report type that includes A with B with C
In a custom order management application, Universal Containers requires that the product name and product code are consistent according to a custom object set up with valid product name and product code combinations. When a user enters and order, the system should check to ensure that the product name and product code entered are valid. Which feature would a developer use to accomplish this?
A. A validation rule with the VLOOKUP function
B. A validation rule with the REGEX function
C. A formula field with the IF function
D. A formula field with the VALIDATE function
A. A validation rule with the VLOOKUP function
Which standard profile has the View Encrypted Data” permission by default?
A. Solution Manager profile
B. System Administrator profile
C. No profile has the permission active by default
D. Standard User profile
C. No profile has the permission active by default
Universal Containers tracks Positions as a custom object in a recruiting application. All positions with a priority of critical should NOT be open for more than two weeks. If a position remains open for more than 14 days, the priority should be re?examined. How would a developer automate this process?
A. Create a workflow action to clone the position, assigned to the owner of the position record, that is due 14 days after record creation
B. Create a validation rule that compares today’s date and the record’s creation date to determine if the difference is greater than 14 days
C. Create a time?dependent workflow action that sends an email to the recruiter if the position is still open 14 days after record creation
D. Create a time?dependent workflow action that updates the position status to closed 145 days after record creation
C. Create a time?dependent workflow action that sends an email to the recruiter if the position is still open 14 days after record creation
If a change is made to an approval process, how can a developer determine the user that made the change? Choose 2 answers.
A. By examining the Debug Log
B. By looking at Modified By” on the approval definition
C. By checking the field history on the associated record
D. By examining the setup audit trail
B. By looking at Modified By” on the approval definition