An effort to bring a revolution in Salesforce.

Wednesday 22 July 2015

Salesforce 401 Dev Certification Questions Answers Part 1



1.        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
Ans:  d
2.        A developer needs 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.        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.
Ans : c,d
3.        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 atleast view position information. However, only select individuals should be able to read salary records.
How should a developer accomplish this?
a.        Create a master-details 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 t 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
d.        Create a master-detail  relationship between  Position and Salary; set organization-wide defaults t Private  for Position and for Salary
Ans :  C
4.        Which portion of Model-View-Controller paradigm is represented in Force.com as a standard or custom object?
a.        Controller
b.        Model
c.        View
Ans : Model
5.        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 enforce in Web services
Ans : b,d
6.        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
Ans : c
7.        In which Salesforce enviroments 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 IDs are never identical
d.        Production and Developer Sandbox only
Ans : a
8.        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.        Create an 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
Ans : a,c
9.        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
Ans :  a,b,d
10.     In recruiting application, a custom object called Position requires approval. When a position record is submitted for approval, the requirements below must be met:
a.        The hiring manager must approve the record
b.        The approval must be forwarded to all members of the executive team, but only one executive needs to approve the record
c.        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
Ans :  d
11.     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 Stage held 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
Ans : a
12.     Which is a valid data type for a custom formula field. Choose 3 answers
a.        Checkbox
b.        Date
c.        Email
d.        Currency
e.        Percent
Ans : b, d, e
13.     Which statement is TRUE about master-detail relationship 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
Ans :  a, c
14.     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
Ans : c
15.     What is a junction object?
a.        A standard object with two master-detail relationships
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
Ans : d
16.     Which feature is available for custom objects? Choose 3 answers
a.        Field history tracking
b.        Assignment rules
c.        Criteria-based sharing
d.        Queues
Ans : a, c, d
17.     In a recruiting allocation, 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 vice president of human resources.
What must be done to initiate the approval process that will route the appropriate records to the vice president 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,000USD
c.        Create a workflow rule that evaluate salary amount and send a notification to the vice president if the salary is greater than 100,000USD
d.        Save the record so it will automatically be entered into the approval process
Ans : a
18.     What must a developer consider when inserting records using an API-based tool? Choose 2
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
Ans :  a, d
19.     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
Ans : b
20.     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
Ans : c
21.     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 die object detail view
d.        Configure the object’s related list to add a filter
Ans : c
22.     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
Ans : c ,d
23.     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 onlu
c.        It can provide success and error files in .csv format
d.        It can prevent the import of duplicate records
Ans : d
24.     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
Ans : a, c, d
25.     Which developer tool can be used to create a data model?
a.        Schema Builder
b.        Foce.com Data Loader
c.        Application Data Model wizard
d.        Force.com IDE
Ans : a, d
26.     Which mechanism allows for authenticated access to a Force.com site? Choose 2
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
Ans : b, c
27.     In a recruiting application, a master-detail relationship has been defined between two 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 associated job application
Ans : c, d
28.     What can be viewed using the process visualizer?
a.        Support processes
b.        Sales processes
c.        Approval processes
d.        Workflow Rule
Ans : c
29.     Which dashboard component displays a grand total across a set of data? Choose 2 answers
a.        Table
b.        Chart
c.        Pivot
d.        Metric
Ans : a, d
30.     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
Ans : a
31.     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
Ans : b
32.     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 device
d.        Via a text message
e.        Via a mobile browser that supports access to the Salesforce web application
Ans : b, c, e
33.     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 below 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
Ans :  d
34.     Universal containers tracks Offers as an object in a recruiting application. Once an offer has been accepted by a candidate, mere 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
Ans :  d
35.     Which statement is true regarding Force.com Sites? Choose 3 answers
a.        Sites 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
Ans :  a, c, d
36.     Which field is available as part of the translation workbench for a validation rule?
a.        Error Message
b.        Description
c.        Rule Criteria
d.        Formula
Ans : a
37.     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
Ans :  b, e
38.     What is not a component of a custom Force.com application?
a.        Default landing tab
b.        Data warehouse
c.        Custom tab
d.        Custom object
Ans :  b
39.     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
Ans :  a
40.     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 than Apex triggers
c.        Formula fields can aggregate data from child records
d.        Formula fields can be created and deployed using only a browser
Ans : a, d
41.     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
Ans : b
42.     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 an 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
Ans : a
43.     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 pro file
Ans :  c
44.     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-dependant workflow action that sends an email to the recruiter if the position is still open 14 days after record creation
d.        Create a time-dependant workflow action that updates the position status to closed 14 days after record creation
Ans : c
45.     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 nail
Ans : b, d
46.     A developer would like to modify the contents of the hover details for a custom object called Position.
What would a developer customize to accomplish this?
a.        Position search layouts
b.        Position record types
c.        Position field dependencies
d.        Position page layouts
Ans : d
47.     A developer had added a custom object tab to an application
Which additional feature will become available by default for the object in the application?
Choose 3 answers
a.        Create a new sidebar component
b.        Custom reporting
c.        Search
d.        Quick create
e.        Recent items
Ans : a,c,e
48.     In a master-detail relationship, what happens to the child records if the parent record is deleted?
a.        Child records are not deleted
b.        A subset of the child records is deleted
c.        Parent record deletion fails
d.        Child records are deleted
Ans : d
49.     Hiring managers at Universal containers would like a visual mechanism for determining review score outliers. Review scores are captured as a custom field on a custom Review object and can range from 1 to 10. Any review score that is >8 should be highlighted in green. Any review score that is < 4 should be highlighted in red.
How would a developer accomplish this?
a.        Use custom summary formulas
b.        Use matrix reports
c.        Use conditional highlighting
d.        Use charts
Ans : a
50.     A developer need to perform an automated extract of data from Salesforce nightly at 2:00 a.m.
How would the developer accomplish this?
a.        Use the Export Scheduler of the Data Loader’s GUI
b.        Use the Command-line interface of the Data Loader
c.        Use the Data Export service to perform a nightly extract
d.        Use the Schedule Manager of the import wizard
Ans : b

No comments:

Post a Comment

Get Gmail, Docs, Drive, and Calendar for business