Winter Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Download Latest DEV-501 Questions

Page: 7 / 9
Total 239 questions

Certified Force.com Advanced Developer Questions and Answers

Question 25

In which Salesforce environments will the Force.com record IDs be identical?

Options:

A.

Production and Full Copy Sandbox only

B.

Production and Developer Sandbox only

C.

Production, Full Copy Sandbox, and Developer Sandbox

D.

Force.com record IDs are never identical.

Question 26

A text area input element. Use this component to get user input for a controller method that does not correspond to a field on a Salesforce object, for a value that requires a text area.

Options:

A.

apex:inputTextarea

B.

apex:facet

C.

apex:include

D.

apex:attribute

Question 27

A component that adds AJAX support to another component, allowing the component to be refreshed asynchronously by the server when a particular event occurs, such as a button click or mouseover.

See also: .

Options:

A.

apex:form

B.

apex:attribute

C.

apex:page

D.

apex:actionSupport

Question 28

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)

Options:

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

Page: 7 / 9
Total 239 questions