Pre-Winter Sale Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ex2p65

Exact2Pass Menu

Question # 4

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.

Full Access
Question # 5

What trigger method is used to help prevent completion of a DML event?

A.

addError

B.

Ids

C.

No

D.

TRUE

Full Access
Question # 6

Which dashboard component displays a grand total across a set of data? Choose 2 answers

A.

Chart

B.

Pivot

C.

Metric

D.

Table

Full Access
Question # 7

Which keywords do developers use to handle exceptions in Apex?

A.

Through class itself

B.

Throw, try, catch, finally

C.

Static and final

D.

GET, POST, PUT, DELETE

Full Access
Question # 8

Which access modifier should u specify for a class containing the webService keword?

  • Public
  • Private
  • Protected
  • Global

A.

FALSE

B.

3 MB

C.

Global

D.

6

Full Access
Question # 9

A timer that sends an AJAX update request to the server according to a time interval that you specify. The update request can then result in a full or partial page update. You should avoid using this component with enhanced lists.

A.

apex:dataList

B.

apex:actionPoller

C.

apex:inlineEditSupport

D.

apex:image

Full Access
Question # 10

To aid ___________, each Visualforce page and custom component is saved with version settings for the specified version of the API as well as the specific version of Visualforce.

A.

bytecode compiles

B.

Apex testing

C.

portal development

D.

backwards-compatibility

E.

exception handling

F.

None of these

Full Access
Question # 11

This Apex class lets a developer access cookies for a Force.com site using Apex.

A.

Cookie Class

B.

PageReference.Cookie Class

C.

ApexPages.Cookie Class

D.

Component.Cookie Class

E.

Visualforce.Cookie Class

F.

None of the above

Full Access
Question # 12

Match the Force.com platform aspects with their corresponding descriptions.

Full Access
Question # 13

Which field is available as part of the translation workbench for a validation rule?

A.

Formula

B.

Description

C.

Error Message

D.

Rule Criteria

Full Access
Question # 14

If you use a standard controller on a page and the user doesn't have access to the object, the page will...

A.

Throw an ACCESS_VIOLATION exception.

B.

Write an ACCESS_VIOLATION message to the debug log.

C.

Display an insufficient privileges error message.

D.

Redirect the user to their home page.

E.

Ask the user if they would like to upgrade permissions in order to view the object.

F.

None of the above

Full Access
Question # 15

An HTML table that is defined by iterating over a set of data, displaying information about one item of data per row. The body of the contains one or more column components that specify what information should be displayed for each item of data. The data set can include up to 1,000 items.

A.

apex:listViews

B.

apex:dataTable

C.

apex:define

D.

apex:inputHidden

Full Access
Question # 16

An HTML input element of type hidden, that is, an input element that is invisible to the user. Use this component to pass variables from page to page.

A.

apex:inputHidden

B.

apex:actionPoller

C.

apex:pageBlockSectionItem

D.

apex:enhancedList

Full Access
Question # 17

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 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 workflow to change the field-level security

B.

Use validation rules to expose the field

C.

Use multiple Visualforce pages

D.

Use workflow to change the record type

Full Access
Question # 18

This tag acts as a placeholder for your dynamic Apex components. It has one required parameter—component Value—which accepts the name of an Apex method that returns a dynamic component.

The following Visualforce components do not have dynamic Apex representations:

Any non- tag, like , , , , , or

A.

apex:dynamicComponent

B.

apex:dataList

C.

apex:actionSupport

D.

apex:insert

Full Access
Question # 19

The Log a Call publisher lets support agents who use Case Feed create logs for customer calls. This component can only be used in organizations that have Case Feed, Chatter, and feed tracking on cases enabled.

A.

apex:inputHidden

B.

apex:iframe

C.

apex:chartLabel

D.

apex:logCallPublisher

Full Access
Question # 20

A component that inserts a second Visualforce page into the current page. The entire page subtree is injected into the Visualforce DOM at the point of reference and the scope of the included page is maintained.

If content should be stripped from the included page, use the component instead.

A.

apex:iframe

B.

apex:include

C.

apex:inputFile

D.

apex:inputField

Full Access
Question # 21

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 can aggregate data from child records.

B.

Formula fields can be created and deployed using only a browser.

C.

Formula fields do not require test methods to deploy.

D.

Formula fields allow greater control and flexibility than Apex triggers

Full Access
Question # 22

Which trigger context variable cannot be deleted? (No Answer)

A.

RETURNING

B.

on-demand

C.

Exceptions

D.

Trigger.new

Full Access
Question # 23

A developer can use optional catch statements for any exception type in a try-catch block. However, the general exception type, 'Exception', must only be used by the last catch() block.

EXAMPLE:

try{

// Some risky code.

}

catch(SomeExceptionType e){

// Handle one exception type.

}

catch(SomeOtherExceptionType e){

// Handle another exception type.

}

catch(Exception e){

// This must be the last catch block.

}

~|~

(Select all that apply)

A.

Make calls to methods using both valid and invalid inputs.

B.

In the case of conditional logic (including ternary operators), execute each branch of code logic.

C.

Only test code using the System Administrator profile.

D.

Focus solely on test coverage percentage score.

E.

Complete successfully without throwing any exceptions, unless those errors are expected and caught in a try...catch block.

F.

None of these

Full Access
Question # 24

Why might a reporting snapshot fail during a scheduled run? Choose 3 answers

A.

The target object is a custom object.

B.

The target object contains an Apex trigger.

C.

The running user has been made inactive.

D.

The source report has been resaved as a matrix report.

E.

The source report was not created by an Administrator.

Full Access
Question # 25

What two methods of customization are available to create applications in salesforce?

A.

Declarative, programmatic

B.

Dates, Ids, Numbers

C.

Database class method

D.

A governor limit

Full Access
Question # 26

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.

Enable Advanced Search on the object's related list

B.

Customize the search filter fields layout for that object

C.

Create a Visualforce page to replace the object detail view

D.

Configure the object's related list to add a filter

Full Access
Question # 27

When do users have the option to manually share records they own from the record detail page?

A.

When a developer adds the Sharing button to the page layout.

B.

When a developer grants the users the Share Records permission.

C.

When the organization wide default for the object is set to private or read-only.

D.

When the organization wide default for the object is set to public read/write.

Full Access
Question # 28

A placeholder for content that is rendered in a specific part of the parent component, such as the header or footer of an .

An component can only exist in the body of a parent component if the parent supports facets. The name of the facet component must match one of the pre-defined facet names on the parent component. This name determines where the content of the facet component is rendered. Consequently, the order in which a facet component is defined within the body of a parent component does not affect the appearence of the parent component.

See for an example of facets.

Note: Although you can't represent an directly in Apex, you can specify it on a dynamic component that has the facet. For example:

A.

apex:logCallPublisher

B.

apex:dataList

C.

apex:inputField

D.

apex:facet

Full Access
Question # 29

What statements are used to retrieve records from an sObject in the Force.com database? (No Answer)

A.

SOQL statements

B.

sObject

C.

SOQL for loops

D.

multi-tenant

Full Access
Question # 30

Defines how labels are displayed. Depending on what component wraps it, gives you options for affecting labels for bar and line series labels, pie chart segments, and axes labels.

Note: This component must be enclosed by a data series component (, , or ) or an component.

A.

apex:chart

B.

apex:include

C.

apex:chartLabel

D.

apex:messages

Full Access
Question # 31

Which feature is available for custom objects? Choose 3 answers

A.

Queues

B.

Field history tracking

C.

Assignment rules

D.

Criteria-based sharing

Full Access
Question # 32

Which syntax should you use to create a new public class named MyNewClass?

  • Public class MyNewClass {}
  • Class public MyNewClass {}
  • Class MyNewClass {} public
  • MyNewClass public {} class(No Answer)

A.

Public class MyNewClass

B.

Database class method

C.

SOQL statements

D.

Static and final

Full Access
Question # 33

Which type of custom field can be an external ID?

A.

Custom field of any type

B.

Phone Number, Email, URL and Text-based fields

C.

Text, Number, or Formula fields only

D.

Text, Email, or Number fields only

Full Access
Question # 34

What is a class? (No Answer)

A.

Apex, Visualforce, and APIs

B.

Database class method

C.

A template from which objects are created

D.

Ajax toolkit, client program

Full Access
Question # 35

Defines tooltips which appear on mouseover of data series elements. This component offers more configuration options than the default tooltips displayed by setting the tips attribute of a data series component to true.

Note: This component must be enclosed by a data series component (, , or ).

A.

apex:actionSupport

B.

apex:componentBody

C.

apex:actionFunction

D.

apex:chartTips

Full Access