Cause all that matters here is passing the Salesforce DEV-501 exam. Cause all that you need is a high score of DEV-501 Certified Force.com Advanced Developer exam. The only one thing you need to do is downloading Testking DEV-501 exam study guides now. We will not let you down with our money-back guarantee.
Q46. Which environments can developers write code? (Select all that apply.)
Developer edition production org
Enterprise edition production org
Enterprise edition sandbox org
Professional edition sandbox org
A. Salesforce-generated email address
B. Apex code, Visualforce pages, and controllers
C. Developer edition production org, Enterprise edition sandbox org
D. Encapsulation principles
Answer: C
Q47. Objects of this Apex class allow developers to create list controllers similar to, or as extensions of, the pre-built Visualforce list controllers provided by Salesforce.
A. StandardSetController Class
B. StandardController Class
C. Controller Class
D. VisualforceSetController Class
E. VisualforceControllerClass
F. None of the above
Answer: A
Q48. 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 (<apex:barSeries>, <apex:lineSeries>, or <apex:pieSeries>).
A. apex:actionSupport
B. apex:componentBody
C. apex:actionFunction
D. apex:chartTips
Answer: D
Q49. Which dashboard component displays a grand total across a set of data? Choose 2 answers
A. Chart
B. Pivot
C. Metric
D. Table
Answer: D
Q50. Which of the following are collection data types Identify the classes that u can use to make HTTP or RESTful callouts.
HTTP class
HTTPRequesL class
HTTPServerRequest. class
HTTPRsponse class
HTTPServerResponse class
A. HTTP class, HTTPRequesL class, HTTPRsponse class
B. Apex classes
C. Logs, anonymous blocks
D. Apex code, Visualforce pages, and controllers
Answer: A
Q51. Which trigger context variable allows you to modify field values before they are written to the database in the before trigger? (No Answer)
A. Trigger.new
B. Trigger.old
C. @ReadOnly
D. TRUE
Answer: A
Q52. What two methods of customization are available to create applications in salesforce?
A. Implicit invocation
B. SOQL for loops
C. Record level access
D. declarative, programmatic
Answer: A
Q53. 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
Answer: A
Q54. What are some RESTful service callout HTTP verbs? (No Answer)
A. GET, POST, PUT, DELETE
B. System, debug
C. List of List Objects
D. Setup menu
Answer: A
Q55. What does Apex provide to support programmatic control of the workflow? (No Answer)
A. Map, List, Set
B. Apex classes
C. Through class itself
D. Apex process classes
Answer: D
Q56. Which form of dml operation allows execution to occur with subsequent records even if an error occurs with a single record? (No Answer)
A. Database class method
B. Public class MyNewClass
C. Standalone, database class methods
D. Apex classes
Answer: A
Q57. A single piece of data in an <apex:pageBlockSection> that takes up one column in one row. An <apex:pageBlockSectionItem> component can include up to two child components. If no content is specified, the column is rendered as an empty space. If one child component is specified, the content spans both cells of the column. If two child components are specified, the content of the first is rendered in the left, "label" cell of the column, while the content of the second is rendered in the right, "data" cell of the column.
Note that if you include an <apex:outputField> or an <apex:inputField> component in an <apex:pageBlockSectionItem>, these components do not display with their label or custom help text as they do when they are children of an <apex:pageBlockSectionItem>. Also note that <apex:pageBlockSectionItem> components cannot be rerendered; rerender the child components instead.
A. apex:flash
B. apex:pageBlockSectionItem
C. apex:outputField
D. apex:componentBody
Answer: B
Q58. What are the four ways to deploy Apex code? (No Answer)
A. Force.com IDE for developers, force.com migration tool, changesets, third-party tools
B. A template from which objects are created
C. Through UI, Force.com IDE project
D. Developer edition production org, Enterprise edition sandbox org
Answer: A
Q59. In a master-detail relationship, what happens to the child records if the parent record is deleted?
A. Parent record deletion fails.
B. Child records are not deleted.
C. A subset of the child records is deleted.
D. Child records are deleted.
Answer: D
Q60. Which of the following guidelines are used for creating custom Web Services? (Select all that apply.)
webservice methods must be static.
webservice methods cannot be overloaded.
A system-defined enum can be used anywhere in a webservice method.
All classes that contain methods defined with the webService keyword must be
declared as private.
A. FALSE, they must be static
B. Developer edition production org, Enterprise edition sandbox org
C. Static methods can only be declared in a top-level class definition.
D. webservice methods must be static, webservice methods cannot be overloaded
Answer: A,B,C,D