Sales Force DEV-501 Certified Force Advanced Developer Test Set 5

Which syntax should you use to create a new public class named MyNewClass?
Public class MyNewClass {}
Class public MyNewClass {}
Class MyNewClass {} public
MyNewClass public {} class


Options are :

  • Public class MyNewClass (Correct)
  • SOQL statements
  • Static and final
  • Database class method

Answer : Public class MyNewClass

What two ways can classes be created in salesforce?


Options are :

  • isSuccess, sendEmailError
  • Apex, Visualforce, and APIs
  • Bounced, discarded, queued
  • Through UI, Force.com IDE project (Correct)

Answer : Through UI, Force.com IDE project

What code is the webservice keyword not allowed to be used?


Options are :

  • code contained in a trigger (Correct)
  • Class, trigger
  • Implicit invocation
  • Queues, time triggers

Answer : code contained in a trigger

Sales Force DEV-501 Certified Force Advanced Developer Test Set 6

What types of sharing are available to developers to share records?


Options are :

  • Manual sharing, apex sharing (Correct)
  • With sharing keyword
  • Messaging, sendEmail
  • Batch apex, apex scheduler

Answer : Manual sharing, apex sharing

How should one prevent soql injection when using dynamic soql?


Options are :

  • with sharing keyword
  • Messaging.InboundEmailHandler
  • XMLStreanWriter, XMLStreamReader
  • Utilize the String.escapeSingleQuotes(string) method (Correct)

Answer : Utilize the String.escapeSingleQuotes(string) method

What can the Force.com IDE be used to create?


Options are :

  • Apex, Visualforce, and APIs
  • Apex code, Visualforce pages, and controllers (Correct)
  • Standalone, database class methods
  • Record level access

Answer : Apex code, Visualforce pages, and controllers

Salesforce Admin 301 Certification - Practice Paper Set 8

An area of a page that includes content from a second template page. Template pages are
Visualforce pages that include one or more <apex:insert> components. The <apex:composition>
component names the associated template, and provides body for the template's <apex:insert>
components with matching <apex:define> components. Any content outside of an
<apex:composition> component is not rendered.


Options are :

  • apex:composition (Correct)
  • apex:inputSecret
  • apex:lineSeries
  • apex:pageblockSection
  • None

Answer : apex:composition

What two ways are available to customize and create applications in salesforce?


Options are :

  • static and final
  • declaratively, programmatically (Correct)
  • plural name plus__r
  • Encapsulation principles

Answer : declaratively, programmatically

What does each email service have for which users can send messages?


Options are :

  • Salesforce-generated email address (Correct)
  • Schema Explorer
  • Code contained in a trigger
  • Apex process classes

Answer : Salesforce-generated email address

Salesforce Pardot Question and Answers

What trigger method is used to correlate IDI-to-sObject maps?


Options are :

  • Trigger.newMap, Trigger.oldMap (Correct)
  • Internal and external
  • Queues, time triggers
  • Trigger.new

Answer : Trigger.newMap, Trigger.oldMap

Which of the following are collection data types?
String
Map
List
Date
Set
Number


Options are :

  • Map, List, Set (Correct)
  • Primitive
  • For loops
  • FALSE

Answer : Map, List, Set

What is the maximum size of a SOAP request or response regulated by?


Options are :

  • a governor limit (Correct)
  • @ReadOnly
  • RETURNING
  • Trigger.old

Answer : a governor limit

Salesforce DEV-501 Apex Visualforce Controller Practice Exam Set 1

What email addresses can emails be sent to out of Salesforce?


Options are :

  • Plural name plus__r
  • Static and final
  • Schema Explorer
  • Internal and external (Correct)

Answer : Internal and external

What annotation can be used with Web Services to allow unrestricted queries when no DML
operations are necessary?


Options are :

  • @ReadOnly (Correct)
  • RETURNING
  • For loops
  • TRUE

Answer : @ReadOnly

Which form of dml operation allows execution to occur with subsequent records even if an error
occurs with a single record?


Options are :

  • Public class MyNewClass
  • Database class method (Correct)
  • Standalone, database class methods
  • Apex classes

Answer : Database class method

Sales Force ADM-211 Administration Essentials 4 Expert Test Set 1

Which keywords should u specify to define a constant?
static and exception
static and final
static and private
exception and final


Options are :

  • static and final (Correct)
  • SOQL statements
  • Setup menu
  • Multi-tenant

Answer : static and final

What two methods of customization are available to create applications in salesforce?


Options are :

  • declarative, programmatic
  • Implicit invocation (Correct)
  • Record level access
  • SOQL for loops

Answer : Implicit invocation

Salesforce Sales-Cloud-Consultant Certification PracticeTest Set 6

Can apex code be created directly in the production environment?


Options are :

  • No (Correct)
  • 10
  • Ids
  • 1

Answer : No

How are Apex triggers stored?


Options are :

  • As .trigger files in the /code directory of your organization's public files.
  • resource
  • As metadata in the application, under the object with which they are associated. (Correct)
  • None of these
  • As compiled bytecode in the Salesforce platform Apex app server.
  • As static resources.

Answer : As metadata in the application, under the object with which they are associated.

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


Options are :

  • A,B,C
  • A,B
  • A,B,C,D (Correct)
  • A

Answer : A,B,C,D

Salesforce ADM-201: Administration Essentials Cert Set 19

How should one prevent soql injection when using dynamic soql?


Options are :

  • with sharing keyword
  • code contained in a trigger
  • Utilize the String.escapeSingleQuotes(string) method (Correct)
  • Database class method

Answer : Utilize the String.escapeSingleQuotes(string) method

What are the four ways to deploy Apex code?


Options are :

  • Through UI, Force.com IDE project
  • Force.com IDE for developers, force.com migration tool, changesets, third-party tools (Correct)
  • Developer edition production org, Enterprise edition sandbox org
  • A template from which objects are created

Answer : Force.com IDE for developers, force.com migration tool, changesets, third-party tools

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


Options are :

  • Ids
  • TRUE
  • No
  • addError (Correct)

Answer : addError

Salesforce DEV-501 Apex Visualforce Controller Practice Exam Set 5

What name identifies datatypes such as Integer, Boolean, String and Enum in Salesforce?


Options are :

  • @ReadOnly
  • Primitive (Correct)
  • Trigger.new
  • FALSE

Answer : Primitive

What are the two types of logs?


Options are :

  • TRUE
  • None of the above
  • On-demand
  • System, debug (Correct)
  • 3 MB

Answer : System, debug

What two methods of customization are available to create applications in salesforce?


Options are :

  • A governor limit
  • Declarative, programmatic (Correct)
  • Database class method
  • Dates, Ids, Numbers

Answer : Declarative, programmatic

Salesforce Sales-Cloud-Consultant Certification PracticeTest Set 5

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


Options are :

  • D,E,F
  • A,B,D
  • A,D,F
  • B,D,F (Correct)

Answer : B,D,F

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


Options are :

  • Developer edition production org, Enterprise edition sandbox org (Correct)
  • Apex code, Visualforce pages, and controllers
  • Salesforce-generated email address
  • Encapsulation principles

Answer : Developer edition production org, Enterprise edition sandbox org

What datatype is used for standard or custom objects that store record data?


Options are :

  • Global
  • System
  • sObject (Correct)

Answer : sObject

Salesforce Pardot Question and Answers

What interface does the Apex email handler implement to setup and inbound email service?


Options are :

  • Encapsulation principles
  • Messaging.sendEmail
  • Messaging.InboundEmailHandler (Correct)
  • isSuccess, sendEmailError

Answer : Messaging.InboundEmailHandler

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions