DEV-501 | The Secret Of Salesforce DEV-501 Testing Material
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 Examcollection DEV-501 exam study guides now. We will not let you down with our money-back guarantee.
Online DEV-501 free questions and answers of New Version:
NEW QUESTION 1
What annotation can be used with Web Services to allow unrestricted queries when no DML operations are necessary? (No Answer)
- A. @ReadOnly
- B. For loops
- C. RETURNING
- D. TRUE
Answer: A
NEW QUESTION 2
Which developer tool can be used to create a data model? Choose 2 answers
- A. Force.com IDE
- B. Schema Builder
- C. Application Data Model Wizard
- D. Force.com Data Loader
Answer: AB
NEW QUESTION 3
All messages that were generated for all components on the current page. If an
<apex:message> or <apex:messages> component is not included in a page, most warning and error messages are only shown in the debug log.
- A. apex:messages
- B. apex:actionPoller
- C. apex:composition
- D. apex:actionRegion
Answer: A
NEW QUESTION 4
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
Answer: A
NEW QUESTION 5
How can the default profile under which Webservices execute be changed? (No Answer)
- A. with sharing keyword
- B. Webservice
- C. SOQL statements
- D. constructor
Answer: A
NEW QUESTION 6
Defines a chart legend. This component offers additional configuration options beyond the defaults used by the legend attribute of the <apex:chart> component.
Note: This component must be enclosed within an <apex:chart> component.
- A. apex:dataTable
- B. apex:legend
- C. apex:pageBlockSectionItem
- D. apex:inputSecret
Answer: B
NEW QUESTION 7
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
NEW QUESTION 8
This Apex class offers article-specific functionality in addition to what is provided by the StandardController Class.
- A. ArticleExtensionStandard Class
- B. StandardKnowledgeContainer Class
- C. StandardKnowledgeController Class
- D. KnowledgeVersionStandardController Class
- E. KnowledgeArticleVersionStandardController Class
- F. None of the above
Answer: E
NEW QUESTION 9
Can apex code be created directly in the production environment?
- A. Ids
- B. 1
- C. 10
- D. No
Answer: D
NEW QUESTION 10
Which of the following code will u use to instantiate a map called numbers that has integers as keys and strings as values?
✑ Map<SLrng, :nLeger> numbers = new Map<String, Integer>;
✑ Map<ThLeyer, SLring> numbers = new Map<Integer, String>;
✑ Map<nLeger> numbers = new Map<String>;
✑ Map<Slring> numbers = new Map<Integer>;
- A. Map<Integer, String> numbers = new Map<Integer, String>;
- B. Code contained in a trigger
- C. Failure response settings
- D. Manual sharing, apex sharing
Answer: A
NEW QUESTION 11
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.
Answer: C
NEW QUESTION 12
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
Answer: C
NEW QUESTION 13
What are all the datatypes that Salesforce supports? (No Answer)
- A. Primitive, sObject, Collections, Null
- B. SOAP Web Service Callouts
- C. List of List Objects
- D. GET, POST, PUT, DELETE
Answer: A
NEW QUESTION 14
How are Apex triggers stored?
- A. As static resources.
- B. As metadata in the application, under the object with which they are associated.
- C. As .trigger files in the /code directory of your organization's public files.
- D. As compiled bytecode in the Salesforce platform Apex app server.
- E. As resource files in the Developer Console.
- F. None of these
Answer: B
NEW QUESTION 15
In a bug tracking application. Universal Containers has created a time-based workflow action that will execute 30 days after a Bug record is created. The developer would like to test to make sure that rule is working the way that it should.
Which feature is available for testing? Choose 2 answers
- A. Time-based workflow queue
- B. Activity History related list
- C. Bug History related list
- D. Debug Log
Answer: AD
NEW QUESTION 16
Which of the following statements are true about components of dynamic Apex?
✑ Schema describe is a way to program matically learn about the metadata of your data model within Apex.
✑ Dynamic SOQL refers to the creation of a SOQL string before runtime within an
Apex script,
✑ In dynamic SQQL, you use Sring.escapeSinqIeQuoLes (sLrng)to prevent SQQL injection.
✑ You can use dynamic SOSL to create a tree structure of all the objects and fields in your schema browser.
- A. In, like, and, or, not, group by, order by, all rows, limit
- B. Schema describe is a way to program magically learn about the metadata of your data model within Apex.
- C. Web service methods must be static, webservice methods cannot be overloaded
- D. Create complex functionality declarative features cannot provide.
Answer: B
NEW QUESTION 17
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: ABCD
NEW QUESTION 18
A set of buttons that are styled like standard Salesforce buttons. This component must be a
child component of an <apex:pageBlock>.
Note that it is not necessary for the buttons themselves to be direct children of the
<apex:pageBlockButtons> component—buttons that are located at any level within an
<apex:pageBlockButtons> component are styled appropriately.
- A. apex:includeScript
- B. apex:commandButton
- C. apex:pageBlockButtons
- D. apex:form
Answer: C
NEW QUESTION 19
Which of the following are collection data types?
✑ String
✑ Map
✑ List
✑ Date
✑ Set
✑ Number
- A. For loops
- B. FALSE
- C. Primitive
- D. Map, List, Set
Answer: D
NEW QUESTION 20
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
NEW QUESTION 21
A component that creates an inline frame within a Visualforce page. A frame allows you to
keep some information visible while other information is scrolled or replaced.
- A. apex:include
- B. apex:iframe
- C. apex:chartLabel
- D. apex:attribute
Answer: B
NEW QUESTION 22
Defines how labels are displayed. Depending on what component wraps it,
<apex:chartLabel> 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 (<apex:barSeries>,
<apex:lineSeries>, or <apex:pieSeries>) or an <apex:axis> component.
- A. apex:chart
- B. apex:include
- C. apex:chartLabel
- D. apex:messages
Answer: C
NEW QUESTION 23
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
<apex:page> tag, rather than this component.
- A. apex:includeScript
- B. apex:outputField
- C. apex:attribute
- D. apex:component
Answer: A
NEW QUESTION 24
Identify the differences between Apex and the other programming languages. (Select all that apply.)
✑ Apex runs in a multitenant environment.
✑ Apex performs uncontrolled program invocations.
✑ Apex is case-insensitive.
✑ Apex can be processed on any platform. (No Answer)
- A. Encapsulation principles
- B. Salesforce ui, force.com ide, runTests web service
- C. Apex runs in a multitenant environment.
- D. A template from which objects are created
Answer: C
NEW QUESTION 25
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
Answer: D
NEW QUESTION 26
What does each email service have for which users can send messages? (No Answer)
- A. Code contained in a trigger
- B. Salesforce-generated email address
- C. Schema Explorer
- D. Apex process classes
Answer: B
NEW QUESTION 27
What can the Force.com IDE be used to create? (No Answer)
- A. Apex code, Visualforce pages, and controllers
- B. Standalone, database class methods
- C. Record level access
- D. Apex, Visualforce, and APIs
Answer: A
NEW QUESTION 28
......
Recommend!! Get the Full DEV-501 dumps in VCE and PDF From Dumps-files.com, Welcome to Download: https://www.dumps-files.com/files/DEV-501/ (New 239 Q&As Version)