aiotestking uk

DEV-501 Exam Questions - Online Test


DEV-501 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

Exam Code: DEV-501 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: Certified Force.com Advanced Developer
Certification Provider: Salesforce
Free Today! Guaranteed Training- Pass DEV-501 Exam.

NEW QUESTION 1
Which property of a field can be edited within the page layout editor? Choose 2 answers

  • A. Read-only
  • B. Controller
  • C. Always Displayed
  • D. Field Dependency
  • E. Required

Answer: AE

NEW QUESTION 2
Apex is available in which Salesforce Editions? (Select all that apply)

  • A. Professional Edition
  • B. Unlimited Edition
  • C. Enterprise Edition
  • D. Developer Edition
  • E. Database.com
  • F. None of these`|`
  • G. Professional Edition
  • H. Unlimited Edition
  • I. Enterprise Edition
  • J. Developer Edition
  • K. Database.com

Answer: BDF

NEW QUESTION 3
The method used to create an object out of a class definition is called a:

  • A. constructor
  • B. For loops
  • C. Webservice
  • D. TRUE

Answer: A

NEW QUESTION 4
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 5
This Apex class allows developers to reference an instantiation of a page.

  • A. ExistingPage Class
  • B. VisualforcePage Class
  • C. PageReference Class
  • D. URLReference Class
  • E. PageURLReference Class
  • F. None of the above

Answer: C

NEW QUESTION 6
Although Trigger.new is a collection of records, when used as a bind variable in a SOQL query, Apex automatically....

  • A. Passes the collection to the query, as long as the calling class implements the Trigger.QueryBind class.
  • B. Transforms the list of records into a list of corresponding Ids.
  • C. Truncates the collection so that only the Id and Name fields.
  • D. Throws a DMLException with the ILLEGAL_QUERY status.
  • E. Transforms the SOQL to an in-place SOSL query and returns the FIND results.
  • F. None of these

Answer: B

NEW QUESTION 7
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 8
Which type of for loops are defined with the following syntax? FOR(initstmt; exit_condition; increment stmt){
codeblock
}
✑ Traditional for loops
✑ List iteration for loops
✑ Set iteration for loops
✑ SOQLforloops(No Answer)

  • A. Static and final
  • B. A governor limit
  • C. Traditional for loops
  • D. SOQL for loops

Answer: C

NEW 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

Answer: B

NEW QUESTION 10
The list view picklist for an object, including its associated list of records for the currently selected view. In standard Salesforce applications this component is displayed on the main tab for a particular object.
See also: <apex:enhancedList>.

  • A. apex:actionStatus
  • B. apex:listViews
  • C. apex:inputText
  • D. apex:pageBlockButtons

Answer: B

NEW QUESTION 11
A message for a specific component, such as a warning or error. 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:message
  • B. apex:flash
  • C. apex:detail
  • D. apex:listViews

Answer: A

NEW QUESTION 12
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 13
Which type of tab can a developer create? Choose 3 answers.

  • A. Apex tabs
  • B. web tabs
  • C. standard object tabs
  • D. Visualforce tabs
  • E. custom object tabs

Answer: BDE

NEW QUESTION 14
What are two key tools to debug code in Salesforce?

  • A. Dates, Ids, Numbers
  • B. Logs, anonymous blocks
  • C. Debug logs, email logs
  • D. List of List Objects

Answer: B

NEW QUESTION 15
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 16
What trigger method is used to correlate IDI-to-sObject maps? (No Answer)

  • A. Trigger.newMap, Trigger.oldMap
  • B. Internal and external
  • C. Trigger.new
  • D. Queues, time triggers

Answer: A

NEW QUESTION 17
Which statement is true about an Apex class?
✑ A class cannot be disabled for profiles.
✑ An inner class can be nested at multiple levels.
✑ Static methods can only be declared in a top-level class definition.
✑ The default access modifier for methods in a class is public.

  • A. Static methods can only be declared in a top-level class definition.
  • B. Utilize the String.escapeSingleQuotes(string) method
  • C. HTTP class, HTTPRequesL class, HTTPRsponse class
  • D. Database class method

Answer: A

NEW QUESTION 18
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.

  • A. apex:inputTextarea
  • B. apex:facet
  • C. apex:include
  • D. apex:attribute

Answer: A

NEW QUESTION 19
What can cross-object formulas reference?

  • A. Both parent and child object records
  • B. Parent object records only
  • C. Child object records only
  • D. Other records of the same object

Answer: B

NEW QUESTION 20
What are access modifiers used to implement? (No Answer)

  • A. Traditional for loops
  • B. Encapsulation principles
  • C. Class, trigger
  • D. Static and final

Answer: B

NEW QUESTION 21
A Visualforce controller is a set of instructions that specify what happens when a user interacts with the components specified in associated Visualforce markup, such as when a user clicks a button or link. Controllers also provide access to the data that should be displayed in a page, and can modify component behavior.

  • A. True
  • B. False

Answer: B

NEW QUESTION 22
Each setSavepoint() and rollback statement counts against the total number of DML statements.

  • A. 6
  • B. 200
  • C. Ids
  • D. TRUE

Answer: D

NEW QUESTION 23
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

Answer: C

NEW QUESTION 24
What are the five types of Apex procedural loops? (No Answer)

  • A. Do-while loop, traditional for loop, list or set iteration loops, and soql for loops
  • B. Develop, integrate, stage, production/training
  • C. Create complex functionality declarative features cannot provide.
  • D. In, like, and, or, not, group by, order by, all rows, limit

Answer: A

NEW QUESTION 25
What types of sharing are available to developers to share records? (No Answer)

  • A. Messaging, sendEmail
  • B. Manual sharing, apex sharing
  • C. Batch apex, apex scheduler
  • D. With sharing keyword

Answer: B

NEW QUESTION 26
In what code is the webservice keyword not allowed to be used?

  • A. Class, trigger
  • B. Implicit invocation
  • C. Code contained in a trigger
  • D. Queues, time triggers

Answer: C

NEW QUESTION 27
What is NOT a component of a custom Force.com application?

  • A. Data warehouse
  • B. Custom object
  • C. Custom tab
  • D. Default landing tab

Answer: A

NEW QUESTION 28
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

Answer: A

NEW QUESTION 29
Like other Apex classes, custom controllers execute entirely in , in which the object and field-level permissions of the current user are ignored.

  • A. User Mode
  • B. System Mode
  • C. OWD Mode
  • D. With-Sharing Mode
  • E. Anonymous Mode
  • F. None of the above

Answer: B

NEW QUESTION 30
A set of content that is grouped together, rendered with an HTML <span> tag, <div> tag, or neither. Use an <apex:outputPanel> to group components together for AJAX refreshes.

  • A. apex:outputPanel
  • B. apex:includeScript
  • C. apex:chartTips
  • D. apex:lineSeries

Answer: A

NEW QUESTION 31
......

Recommend!! Get the Full DEV-501 dumps in VCE and PDF From Certleader, Welcome to Download: https://www.certleader.com/DEV-501-dumps.html (New 239 Q&As Version)