Weekend Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

Salesforce DEV-501 - Certified Force.com Advanced Developer

Page: 1 / 8
Total 239 questions

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.

Recreate 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 14 days after record creation

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 workflow field update to set the property of the Actual Salary field to Required

B.

Create a field dependency between the Salary Amount and status of Accepted.

C.

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 Actual Salary required each time the offer record is saved.

A link that executes an action defined by a controller, and then either refreshes the current page, or navigates to a different page based on the PageReference variable that is returned by the action. An component must always be a child of an component.

To add request parameters to an , use nested components.

A.

apex:dataList

B.

apex:enhancedList

C.

apex:commandLink

D.

apex:include

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

A.

B.

C.

D.

E.

F.

None of these

List the HTTP classes available in Salesforce?

A.

GET, POST, PUT, DELETE

B.

Failure response settings

C.

Queues, time triggers

D.

HTTPRequest, HTTPResponse, HTTP

A link to a JavaScript library that can be used in the Visualforce page. When specified, this component injects a script reference into the head element of the generated HTML page.

For performance reasons, you may simply want to use a JavaScript tag before your closing tag, rather than this component.

A.

apex:includeScript

B.

apex:outputField

C.

apex:attribute

D.

apex:component

For example, if you use the standard Accounts controller, clicking a Save button in a Visualforce page results in the same behavior as clicking Save on a standard Account edit page. The same behavior holds true for Custom objects.

A.

True

B.

False

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

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

A.

addError

B.

Ids

C.

No

D.

TRUE

A custom Visualforce component. All custom component definitions must be wrapped inside a single tag.

A.

apex:includeScript

B.

apex:commandLink

C.

apex:dataTable

D.

apex:component