Questão 1
Questão
Universal Containers has built a recruiting application with two custom objects, Job Applications
and Reviews that have a master-detail relationship. Users should NOT be allowed to delete review
records after job application records have been approved.
Responda
-
Change the interviewer's profile to Read-only for the review object
-
Use workflow to change the page layout to Read-only
-
Remove the Delete button from the job application page layout
-
Use a validation rule in conjunction with a roll-up summary field
Questão 2
Questão
What can cross-object formulas reference?
Responda
-
Both parent and child object records
-
Parent object records only
-
Child object records only
-
Other records of the same object
Questão 3
Questão
Universal Containers requires that all job applications have a unique code that is auto-populated
when records are created. The code must be different from the record ID.
What would a developer use to accomplish this declaratively?
Responda
-
Custom auto number field
-
Custom master-detail field
-
Custom read-only number field
-
Custom lookup relationship field
Questão 4
Questão
Which is a valid formula return type for a custom formula field? Choose 3 answers
Responda
-
Date
-
Percent
-
Email
-
Phone
-
Currency
Questão 5
Questão
A business requirement can be met by using either a formula field or an Apex trigger. Why would a
developer use a formula field Instead of an Apex trigger? Choose 2 answers
Responda
-
Formula fields can aggregate data from child records.
-
Formula fields can be created and deployed using only a browser.
-
Formula fields do not require test methods to deploy.
-
Formula fields allow greater control and flexibility than Apex triggers
Questão 6
Questão
What can be viewed using the process visualizer?
Responda
-
Approval processes
-
Support processes
-
Workflow rules
-
Sales processes
Questão 7
Questão
In the Universal Containers recruiting app, there is a master-detail relationship between the Job
Application and Review objects. Job Application is the master object.
If a Job Application record is deleted, what will happen to any associated Review records?
Responda
-
The Review record is also deleted
-
The owner of the Review record changes
-
No change to the Review record
-
An error message is displayed
Questão 8
Questão
A user can only see the fields A, B, and C on a record of Object X until the Stage field value on the
record changes from New to Working. Once the Stage field value is updated to Working and the
record is saved, the user should be able to see fields A, B, C, and D.
How would an application developer configure this?
Responda
-
Use workflow to change the field-level security
-
Use validation rules to expose the field
-
Use multiple Visualforce pages
-
Use workflow to change the record type
Questão 9
Questão
Which type of custom field can be an external ID?
Responda
-
Custom field of any type
-
Phone Number, Email, URL and Text-based fields
-
Text, Number, or Formula fields only
-
Text, Email, or Number fields only
Questão 10
Questão
Why might a reporting snapshot fail during a scheduled run? Choose 3 answers
Responda
-
The target object is a custom object.
-
The target object contains an Apex trigger.
-
The running user has been made inactive.
-
The source report has been resaved as a matrix report.
-
The source report was not created by an Administrator.
Questão 11
Questão
When do users have the option to manually share records they own from the record detail page?
Responda
-
When a developer adds the Sharing button to the page layout.
-
When a developer grants the users the Share Records permission.
-
When the organization wide default for the object is set to private or read-only.
-
When the organization wide default for the object is set to public read/write.
Questão 12
Questão
Which dashboard component displays a grand total across a set of data? Choose 2 answers
Questão 13
Questão
In which Salesforce environments will the Force.com record IDs be identical?
Responda
-
Production and Full Copy Sandbox only
-
Production and Developer Sandbox only
-
Production, Full Copy Sandbox, and Developer Sandbox
-
Force.com record IDs are never identical.
Questão 14
Questão
A developer would like to modify the contents of the hover details for a custom object called
Position. What would a developer customize to accomplish this?
Questão 15
Questão
Universal Containers tracks reviews as a custom object in a recruiting application. An interview
score is tracked on each review record and should be numerical, so that hiring managers can
perform score calculations. The scores should be restricted to Integer values l through 5 and
displayed as a set of radio buttons.
How can a developer meet this requirement?
Responda
-
Create the Interview Score field as a picklist, displayed as a radio button on the page layout
-
Create a formula field that displays the interview score as a set of radio buttons
-
Create a Visualforce component to display the interview score as a set of radio buttons
-
Create the Interview Score field with a data type of radio button
Questão 16
Questão
Which statement is TRUE about field-level security? Choose 2 answers
Responda
-
It is specified for each profile.
-
It can be controlled at the record level.
-
It Is enforced in the SOAP API.
-
It determines the values displayed in a visible picklist field.
Questão 17
Questão
If a change is made to an approval process, how can a developer determine the user that made
the change? Choose 2 answers
Responda
-
By examining the setup audit trail
-
By checking the field history on the associated record
-
By looking at "Modified By" on the approval definition
-
By examining the Debug Log
Questão 18
Questão
What is NOT a component of a custom Force.com application?
Responda
-
Data warehouse
-
Custom object
-
Custom tab
-
Default landing tab
Questão 19
Questão
In a recruiting application, a custom object called Position requires approval. When a position
record is submitted for approval, the requirements below must be met:
The hiring manager must approve the record
The approval must be forwarded to all members of the executive team, but only one executive
needs to approve the record
The VP of human resources must approve the record
How would a developer meet this requirement?
Responda
-
Create multiple approval processes, one for each executive team member, and utilize parallel
submission.
-
Create an approval process which utilizes parallel approvers, but does not require unanimous
approval.
-
Create parallel workflow rules, requiring at least one executive team member to complete their
assigned task.
-
Create an approval process with a step for each executive team member, allowing approval
steps to be skipped.
Questão 20
Questão
Which standard profile has the "View Encrypted Data" permission by default?
Questão 21
Questão
Which developer tool can be used to create a data model? Choose 2 answers
Questão 22
Questão
Which statement is TRUE about master-detail relationships in the Force.com platform? Choose 2
answers
Responda
-
The master-detail relationship field is required on the page layout of the detail record.
-
When defining a master-detail relationship, the custom object on which you are working is the
master.
-
The security settings for the master record control the detail record.
-
When a master record is deleted, the child records remain in the system without a master
record.
Questão 23
Questão
In a recruiting application, all users should be able to see positions with a status of Open. If the
status is anything other than Open, the position should be visible only to the record owner.
How would a developer accomplish this? Choose 2 answers
Responda
-
Set the organization-wide default for positions to public read-only, then use a sharing rule to
restrict access to closed positions.
-
Specify view only access for open positions on users' profiles.
-
Set the organization-wide default for positions to private, then use a criteria-based sharing rule
to automatically share open positions.
-
Set the organization-wide default for positions to private, allowing owners to use manual
sharing to add or remove access as positions change status.
Questão 24
Questão
What is Development?
Responda
-
tools and environments used to develop Force.com application
-
controls application's appearance
-
defines objects, fields and relationships
-
create tasks, assigns records, does time-based actions
Questão 25
Responda
-
tools and environments used to develop Force.com application
-
controls application's appearance
-
defines objects, fields and relationships
-
create tasks, assigns records, does time-based actions
Questão 26
Responda
-
tools and environments used to develop Force.com application
-
controls application's appearance
-
defines objects, fields and relationships
-
create tasks, assigns records, does time-based actions
Questão 27
Responda
-
tools and environments used to develop Force.com application
-
controls application's appearance
-
defines objects, fields and relationships
-
create tasks, assigns records, does time-based actions
Questão 28
Questão
Positions is a custom object in a recruiting application built on the Force.com platform. Department
is a field on the Position object.
Which type of report should a developer create to show hiring managers the number of positions
grouped by department?
Responda
-
Summary
-
Pivot
-
Reporting Snapshot
-
Tabular
Questão 29
Questão
A developer is loading data, in CSV format, into a custom application from a legacy system. The
developer would like to load users into the user object, and positions and job applications owned
by named users into related custom objects.
Which obstacle will the developer encounter when using the import wizard?
Responda
-
The import wizards cannot Import data from CSV files.
-
The import wizards do not support custom objects.
-
The import wizards do not import files to specify record owner.
-
The import wizards do not support the User object.
Questão 30
Questão
What must a developer consider when inserting records using an API-based tool? Choose 2
answers
Responda
-
Required fields on page layouts are enforced.
-
Universally required field settings are respected.
-
Apex triggers are ignored.
-
Invalidation rules are respected.
Questão 31
Questão
A developer needs to support multiple currencies for a custom object in an application. The multicurrency
feature has been enabled for the organization.
What does the developer need to know in order to successfully support this application? Choose 2
answers
Responda
-
Administrators can add additional currencies after the application has been built.
-
Roll-up summary fields on a parent record will calculate incorrectly if the child records have
multiple currencies.
-
The multi-currency feature will automatically track historical exchange rates.
-
Currency ISO code will need to be supplied when inserting records in different currencies.
Questão 32
Questão
Which feature is available for custom objects? Choose 3 answers
Responda
-
Queues
-
Field history tracking
-
Assignment rules
-
Criteria-based sharing
Questão 33
Questão
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
Questão 34
Questão
Object B has a lookup relationship to Object A. Object C has a lookup relationship to Object B. A
developer needs to run a report on A records with C records.
How can the developer accomplish this?
Responda
-
Create a matrix report with A and B records as column headings and C records as row
headings
-
Create a custom report type that includes A with B with C
-
Create a summary report with a custom summary formula summarizing by A, then B, then C
-
Run a report using the standard report type: A with B with C
Questão 35
Questão
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?
Responda
-
Create a workflow field update to set the property of the Actual Salary field to Required
-
Create a field dependency between the Salary Amount and status of Accepted.
-
Create a validation rule to make sure that the Actual Salary is not null whenever an offer is
accepted.
-
Create a validation rule to make Actual Salary required each time the offer record is saved.
Questão 36
Questão
For objects where data access is granted through the role hierarchy, how is access granted?
Responda
-
Users are granted access to data accessible by users below them in the role hierarchy.
-
Users are only granted access to data owned by users below them In the role hierarchy.
-
Users are only granted read access to data owned by users above them in the role hierarchy.
-
Users are granted access to data accessible to users in the same role in the role hierarchy.
Questão 37
Questão
In a recruiting application, a Position custom object is related to a Salary custom object. Sensitive
information, such as current salary, is stored on the Salary object. All users should be able to at
least view position information. However, only select individuals should be able to read salary
records.
How should a developer accomplish this?
Responda
-
Create a lookup relationship between Position and Salary; set organization-wide defaults to
Public Read-Only for Position and Private for Salary
-
Create a master-detail relationship between Position and Salary; set organization-wide defaults
to Private for Position and Salary
-
Create a master-detail relationship between Position and Salary; set organization-wide defaults
to Public Read only for Position and Private for Salary
-
Create a lookup relationship between Position and Salary; set organization-wide defaults to
Private for Position and Salary
Questão 38
Questão
Which field is available as part of the translation workbench for a validation rule?
Responda
-
Formula
-
Description
-
Error Message
-
Rule Criteria
Questão 39
Questão
Which statement is true regarding Force.com Sites? Choose 3 answers
Responda
-
Sites can leverage declarative page layouts as web pages.
-
Sites enables developers to build public, unauthenticated websites.
-
Sites are built with Visualforce pages.
-
Sites leverage data and content in a Salesforce org.
Questão 40
Questão
Object X has a lookup field to Object Y. X needs to display a text value from a Text field on Y. To
ensure data Integrity, how would a developer implement this?
Responda
-
Create a roll-up summary field on Object X that retrieves the value from Y.
-
Create a text field on Object X and use a workflow rule to fill in the value upon the creation of X
-
Create a cross-object formula field on Object X that retrieves the value from Y.
-
Create a text field on Object X and use Apex to populate the value.
Questão 41
Questão
Which mechanism allows for authenticated access to a Force.com Site? Choose 2 answers
Responda
-
It is not possible to provide authentication for a Force.com Site
-
An active Customer Portal
-
An active Partner Portal
-
Setting restricted IP ranges for your site
Questão 42
Questão
Universal Containers requires that some employees are able to view and edit records of a custom
object called Positions, but no users can delete them.
How can Universal Containers accomplish this goal?
Responda
-
Assign the Read-only profile to all users
-
Set the organization wide default for positions to Read-only
-
Remove the Delete permission for positions from all profiles
-
Remove the Delete Access for positions from all user roles
Questão 43
Questão
In a recruiting application, a master-detail relationship has been defined between two custom
objects. Job Applications (master) and Reviews (detail).
Which statement is TRUE? Choose 2 answers
Responda
-
Review records will inherit ownership from the associated job application.
-
Deleting a job application record will delete associated review records.
-
The master-detail relationship between Job Applications and Reviews is defined on the Job
Application object.
-
Review records may exist without an associated job application.
Questão 44
Questão
How can a wireless device user approve a record? Choose 3 answers
Questão 45
Questão
Which portion of the Model-View-Controller paradigm is represented in Force.com as a standard
or custom object?
Questão 46
Questão
In a master-detail relationship, what happens to the child records if the parent record is deleted?
Responda
-
Parent record deletion fails.
-
Child records are not deleted.
-
A subset of the child records is deleted.
-
Child records are deleted.
Questão 47
Questão
Which action is available to a developer when two objects are connected by a lookup relationship?
Choose 2 answers
Responda
-
create a roll-up summary field on the parent object to count child records
-
create a custom report type that allows customization of fields displayed from both parent and
child objects
-
create a cross-object formula field on the child object to reference fields on the parent object
-
create a cross-object formula field on the parent object to reference fields on the child object
Questão 48
Questão
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?
Responda
-
Create a workflow action to clone the position, assigned to the owner of the position record, that
is due 14 days after record creation
-
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
-
Recreate a time-dependent workflow action that sends an email to the recruiter if the position is
still open 14 days after record creation
-
Create a time-dependent workflow action that updates the position status to Closed 14 days
after record creation
Questão 49
Questão
Given a three tier model (UI layer, business logic layer, data layer), which feature of the Force.com
platform is associated with the data layer? Choose 3 answers
Responda
-
Custom applications
-
Custom relationships
-
Custom fields
-
Custom objects
-
Custom tabs
Questão 50
Questão
What is a Junction object?
Responda
-
A standard object with a master-detail relationship
-
A custom object with two master-detail relationships
-
A standard object with two master-detail relationships
-
A custom object with a master-detail relationship
Questão 51
Questão
A developer would like to enable end users to filter the data displayed on the related list of an
object detail page. How could a developer accomplish this?
Responda
-
Enable Advanced Search on the object's related list
-
Customize the search filter fields layout for that object
-
Create a Visualforce page to replace the object detail view
-
Configure the object's related list to add a filter
Questão 52
Questão
Hiring managers at Universal Containers would like a visual mechanism for determining review
score outliers. Review scores are captured as a custom field on a custom Review object and can
range from l to 10. Any review score that is > 8 should be highlighted in green.
Any review score that is < 4 should be highlighted In red.
How would a developer accomplish this?
Questão 53
Questão
Users X and Y need to see the same candidate record. For security reasons, user Y should NOT
be able to view and report on the Email Address field on the record.
How would a developer meet this requirement?
Responda
-
Use a custom Visualforce page to make the email address visible to user X but not user Y
-
Use a sharing rule to make the email address only visible to user X
-
use page layouts to make the email address visible to user X but not user Y
-
Use field-level security to make the email address visible to user X but not user Y
Questão 54
Questão
Which type of tab can a developer create? Choose 3 answers.
Responda
-
Apex tabs
-
web tabs
-
standard object tabs
-
Visualforce tabs
-
custom object tabs
Questão 55
Questão
Which property of a field can be edited within the page layout editor? Choose 2 answers
Responda
-
Read-only
-
Controller
-
Always Displayed
-
Field Dependency
-
Required
Questão 56
Questão
A developer has added a custom object tab to an application. Which additional feature will become
available by default for the object in the application? Choose 3 answers
Questão 57
Questão
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. This component has additional attributes that can be specified, such as the
height and rows per page, as compared to <apex:listView>.
Note: When an <apex:enhancedList> is rerendered through another component's rerender
attribute, the <apex:enhancedList> must be inside of an <apex:outputPanel> component that has
its layout attribute set to "block". The <apex:enhancedList> component is not allowed on pages
that have the attribute showHeader set to false. You can only have five <apex:enhancedList>
components on a single page. Ext JS versions less than 3 should not be included on pages that
use this component.
Responda
-
apex:attribute
-
apex:enhancedList
-
apex:actionFunction
-
apex:inputCheckbox
Questão 58
Questão
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.
Questão 59
Questão
An HTML table that is defined by iterating over a set of data, displaying information about one item
of data per row. The body of the <apex:dataTable> contains one or more column components that
specify what information should be displayed for each item of data. The data set can include up to
1,000 items.
Responda
-
apex:listViews
-
apex:dataTable
-
apex:define
-
apex:inputHidden
Questão 60
Questão
What three classes along with the Messaging.InboundEmailHandler are used to handle inbound
email messages in Salesforce? (No Answer)
Responda
-
Apex code, Visualforce pages, and controllers
-
Messaging.InboundEmail, Messaging.InboundEmailResult, Messaging.InboundEnvelope
-
Messaging.InboundEmailHandler
-
Make calls to methods using both valid and invalid inputs.
Questão 61
Questão
How can the default profile under which Webservices execute be changed? (No Answer)
Responda
-
with sharing keyword
-
Webservice
-
SOQL statements
-
constructor
Questão 62
Questão
What are some RESTful service callout HTTP verbs? (No Answer)
Responda
-
GET, POST, PUT, DELETE
-
System, debug
-
List of List Objects
-
Setup menu
Questão 63
Questão
What is the maximum size of a SOAP request or response regulated by? (No Answer)
Responda
-
@ReadOnly
-
RETURNING
-
Trigger.old
-
a governor limit
Questão 64
Questão
What trigger method is used to correlate IDI-to-sObject maps? (No Answer)
Questão 65
Questão
Which form of dml operation allows execution to occur with subsequent records even if an error
occurs with a single record? (No Answer)
Questão 66
Questão
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)
Responda
-
Static and final
-
A governor limit
-
Traditional for loops
-
SOQL for loops
Questão 67
Questão
What language is Apex similar to? (No Answer)
Questão 68
Questão
What does Apex provide to support programmatic control of the workflow? (No Answer)
Responda
-
Map, List, Set
-
Apex classes
-
Through class itself
-
Apex process classes
Questão 69
Questão
What are all the datatypes that Salesforce supports? (No Answer)
Responda
-
Primitive, sObject, Collections, Null
-
SOAP Web Service Callouts
-
List of List Objects
-
GET, POST, PUT, DELETE
Questão 70
Questão
How should one prevent soql injection when using dynamic soql? (No Answer)
Responda
-
XMLStreanWriter, XMLStreamReader
-
Messaging.InboundEmailHandler
-
with sharing keyword
-
Utilize the String.escapeSingleQuotes(string) method
Questão 71
Questão
How does the Email service process inbound emails? (No Answer)
Responda
-
Apex classes
-
Exceptions
-
FALSE
-
catch
Questão 72
Questão
What two ways are available to customize and create applications in salesforce? (No Answer)
Questão 73
Questão
What annotation can be used with Web Services to allow unrestricted queries when no DML
operations are necessary? (No Answer)
Responda
-
@ReadOnly
-
For loops
-
RETURNING
-
TRUE
Questão 74
Questão
What email addresses can emails be sent to out of Salesforce? (No Answer)
Responda
-
Schema Explorer
-
Plural name plus__r
-
Static and final
-
Internal and external
Questão 75
Questão
What is a class? (No Answer)
Responda
-
Apex, Visualforce, and APIs
-
Database class method
-
A template from which objects are created
-
Ajax toolkit, client program
Questão 76
Questão
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.
Responda
-
In, like, and, or, not, group by, order by, all rows, limit
-
Schema describe is a way to program magically learn about the metadata of your data model
within Apex.
-
Web service methods must be static, webservice methods cannot be overloaded
-
Create complex functionality declarative features cannot provide.
Questão 77
Questão
What can the Force.com IDE be used to create? (No Answer)
Responda
-
Apex code, Visualforce pages, and controllers
-
Standalone, database class methods
-
Record level access
-
Apex, Visualforce, and APIs
Questão 78
Questão
What are the types of exception classes developers can choose between in Apex? (No Answer)
Questão 79
Questão
Which trigger context variable cannot be deleted? (No Answer)
Responda
-
RETURNING
-
on-demand
-
Exceptions
-
Trigger.new
Questão 80
Questão
What is the this keyword used to represent? (No Answer)
Responda
-
A template from which objects are created
-
FALSE, they must be static
-
Methods and attributes of the current instance of a class
-
Encapsulation principles
Questão 81
Questão
What code is the webservice keyword not allowed to be used? (No Answer)
Questão 82
Questão
What is the total number of messages that all email services put together can process in a day?
(No Answer)
Questão 83
Questão
Which keywords should u specify to define a constant?
static and exception
static and final
static and private
exception and final(No Answer)
Responda
-
Setup menu
-
Multi-tenant
-
static and final
-
SOQL statements
Questão 84
Questão
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(No Answer)
Responda
-
Public class MyNewClass
-
Database class method
-
SOQL statements
-
Static and final
Questão 85
Questão
What are the stages of an application development process? (No Answer)
Responda
-
Declaratively, programmatically
-
Primitive, sObject, Collections, Null
-
Develop, integrate, stage, production/training
-
Manual sharing, apex sharing
Questão 86
Questão
What types of sharing are available to developers to share records? (No Answer)
Responda
-
Messaging, sendEmail
-
Manual sharing, apex sharing
-
Batch apex, apex scheduler
-
With sharing keyword
Questão 87
Questão
What does Apex use to record disruptions in code execution? (No Answer)
Responda
-
Exceptions
-
Ids
-
Primitive
-
addError
Questão 88
Questão
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)
Responda
-
Encapsulation principles
-
Salesforce ui, force.com ide, runTests web service
-
Apex runs in a multitenant environment.
-
A template from which objects are created
Questão 89
Questão
Which of the following are collection data types?
String
Map
List
Date
Set
Number
Salesforce DEV-501 Exam
Responda
-
For loops
-
FALSE
-
Primitive
-
Map, List, Set
Questão 90
Questão
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
Responda
-
HTTP class, HTTPRequesL class, HTTPRsponse class
-
Apex classes
-
Logs, anonymous blocks
-
Apex code, Visualforce pages, and controllers
Questão 91
Questão
What statements are used to retrieve records from an sObject in the Force.com database? (No
Answer)
Responda
-
SOQL statements
-
sObject
-
SOQL for loops
-
multi-tenant
Questão 92
Questão
What are all the datatypes that Salesforce supports?
Responda
-
How many loopback connections to Salesforce are allowed by callouts?
-
What two ways can classes be created in salesforce?
-
What are some RESTful service callout HTTP verbs?
Questão 93
Questão
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.
Responda
-
Static methods can only be declared in a top-level class definition.
-
Utilize the String.escapeSingleQuotes(string) method
-
HTTP class, HTTPRequesL class, HTTPRsponse class
-
Database class method
Questão 94
Questão
What are the five types of Apex procedural loops? (No Answer)
Responda
-
Do-while loop, traditional for loop, list or set iteration loops, and soql for loops
-
Develop, integrate, stage, production/training
-
Create complex functionality declarative features cannot provide.
-
In, like, and, or, not, group by, order by, all rows, limit
Questão 95
Questão
Which of the following statements are used to repeatedly execute a block of code until the exit
condition is met?
do-while loops
if statements
for loops
if—Lhen statements
Responda
-
For loops
-
FALSE
-
Exceptions
-
SOQL for loops
Questão 96
Questão
Which of the following statements identifies the block of code that can handle a particular
exception?
catch
finally
try
throw
Questão 97
Questão
The method used to create an object out of a class definition is called a:
Responda
-
constructor
-
For loops
-
Webservice
-
TRUE
Questão 98
Questão
How do you call Web Services from external sources? (No Answer)
Questão 99
Questão
What does each email service have for which users can send messages? (No Answer)
Questão 100
Questão
What two ways can classes be created in salesforce? (No Answer)
Responda
-
isSuccess, sendEmailError
-
Apex, Visualforce, and APIs
-
Through UI, Force.com IDE project
-
Bounced, discarded, queued
Questão 101
Questão
What determines how the email service responds when an attempt to access the email service
fails? (No Answer)
Questão 102
Questão
What are access modifiers used to implement? (No Answer)
Responda
-
Traditional for loops
-
Encapsulation principles
-
Class, trigger
-
Static and final
Questão 103
Questão
What is the maximum size of a SOAP request or response? (No Answer)
Questão 104
Questão
What are the two types of logs? (No Answer)
Responda
-
System, debug
-
TRUE
-
On-demand
-
3 MB
Questão 105
Questão
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>;
Responda
-
Map<Integer, String> numbers = new Map<Integer, String>;
-
Code contained in a trigger
-
Failure response settings
-
Manual sharing, apex sharing
Questão 106
Questão
Which trigger context variable allows you to modify field values before they are written to the
database in the before trigger? (No Answer)
Responda
-
Trigger.new
-
Trigger.old
-
@ReadOnly
-
TRUE
Questão 107
Questão
What are the four ways to deploy Apex code? (No Answer)
Responda
-
Force.com IDE for developers, force.com migration tool, changesets, third-party tools
-
A template from which objects are created
-
Through UI, Force.com IDE project
-
Developer edition production org, Enterprise edition sandbox org
Questão 108
Questão
What datatype is used for standard or custom objects that store record data? (No Answer)
Questão 109
Questão
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.
Responda
-
Salesforce-generated email address
-
Manual sharing, apex sharing
-
Static methods can only be declared in a top-level class definition.
-
Make calls to methods using both valid and invalid inputs.
Questão 110
Questão
Under what profile do Webservice methods execute by default?
Questão 111
Questão
What are the three ways to run unit tests?
Responda
-
Salesforce ui, force.com ide, runTests web service
-
Dates, Ids, Numbers
-
FALSE, they must be static
-
System-defined, user-defined
Questão 112
Questão
What is the default return type of a sosl statement?
Responda
-
Apex process classes
-
Apex classes
-
List of List Objects
-
SOQL for loops
Questão 113
Questão
Which trigger context variable allows you to modify field values before they are written to the
database in the before trigger?
Responda
-
@ReadOnly
-
RETURNING
-
Webservice
-
Trigger.new
Questão 114
Questão
How are static methods and attributes access?
Responda
-
Map, List, Set
-
Class, trigger
-
Apex classes
-
Through class itself
Questão 115
Questão
Which keywords do developers use to handle exceptions in Apex?
Questão 116
Questão
Which invocation method occurs when triggers are called by the Force.com platform during the
save process?
Explicit invocation
Implicit invocation
Explicit invocation using anonymous blocks
External API invocation
Responda
-
RETURNING
-
Implicit invocation
-
Primitive
-
SOQL for loops
Questão 117
Questão
What two methods of customization are available to create applications in salesforce?
Questão 118
Questão
How should one prevent soql injection when using dynamic soql?
Questão 119
Questão
What components of apex are available to improve the processing of data in Salesforce?
Questão 120
Questão
Which trigger context variable cannot be deleted?
Responda
-
addError
-
System
-
@ReadOnly
-
Trigger.new
Questão 121
Questão
What are two key tools to debug code in Salesforce?
Responda
-
Dates, Ids, Numbers
-
Logs, anonymous blocks
-
Debug logs, email logs
-
List of List Objects
Questão 122
Questão
Which trigger context variable is not saved in the after trigger and causes an exception to be
thrown?
Responda
-
Trigger.new
-
addError
-
Primitive
-
TRUE
Questão 123
Questão
What statements are used to retrieve records from an sObject in the Force.com database?
Responda
-
Exceptions
-
On-demand
-
Map, List, Set
-
SOQL statements
Questão 124
Questão
What is the size of the batches in which triggers execute?
Questão 125
Questão
What interface does the Apex email handler implement to setup and inbound email service?
Questão 126
Questão
Can apex code be created directly in the production environment?
Questão 127
Questão
What are two ways to invoke a custom web service?
Questão 128
Questão
What components must be deployed manually to the production environment?
Responda
-
Queues, time triggers
-
Multi-tenant
-
Constructor
-
Dates, Ids, Numbers
Questão 129
Questão
In what code is the webservice keyword not allowed to be used?
Questão 130
Questão
What types of sharing are available to developers to share records?
Responda
-
Failure response settings
-
Manual sharing, apex sharing
-
Dates, Ids, Numbers
-
Apex, Visualforce, and APIs
Questão 131
Questão
List the HTTP classes available in Salesforce?
Responda
-
GET, POST, PUT, DELETE
-
Failure response settings
-
Queues, time triggers
-
HTTPRequest, HTTPResponse, HTTP
Questão 132
Questão
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
Responda
-
Salesforce-generated email address
-
Apex code, Visualforce pages, and controllers
-
Developer edition production org, Enterprise edition sandbox org
-
Encapsulation principles
Questão 133
Questão
What is the list of steps to match regular expressions using the Pattern and Matcher classes?
Responda
-
A template from which objects are created
-
1.Instantiate a pattern object from the expression you wish to match.
2. Instantiate a matcher object from the pattern that contains the string you want to check.
3. Use the matcher object to detect if the matcher matches the pattern.
-
HTTPRequest, HTTPResponse, HTTP
-
Primitive, sObject, Collections, Null
Questão 134
Questão
What is the this keyword used to represent?
Responda
-
Salesforce ui, force.com ide, runTests web service
-
Methods and attributes of the current instance of a class
-
A template from which objects are created
-
HTTPRequest, HTTPResponse, HTTP
Questão 135
Questão
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.
Responda
-
FALSE, they must be static
-
Developer edition production org, Enterprise edition sandbox org
-
Static methods can only be declared in a top-level class definition.
-
webservice methods must be static, webservice methods cannot be overloaded
Questão 136
Questão
What does Apex use to record disruptions in code execution?
Responda
-
@ReadOnly
-
Catch
-
Webservice
-
Exceptions
Questão 137
Questão
What keyword is used to create custom Web Services from an apex method?
Responda
-
FALSE
-
TRUE
-
Trigger.new
-
Webservice
Questão 138
Questão
What two forms of dml operations can be used in apex?
Questão 139
Questão
Each setSavepoint() and rollback statement counts against the total number of DML statements.
Questão 140
Questão
What term indicates that Salesforce is a platform which allows clients to share hardware, storage
and other infrastructure?
Responda
-
System
-
On-demand
-
TRUE
-
Multi-tenant
Questão 141
Questão
What two methods of customization are available to create applications in salesforce?
Questão 142
Questão
Which fields are returned by sosl by default?
Questão 143
Questão
What name identifies datatypes such as Integer, Boolean, String and Enum in Salesforce?
Responda
-
Primitive
-
@ReadOnly
-
Trigger.new
-
FALSE
Questão 144
Questão
What trigger method is used to help prevent completion of a DML event?
Questão 145
Questão
How are programmatic cusomizations done in Salesforce?
Questão 146
Questão
Which access modifier should u specify for a class containing the webService keword?
Public
Private
Protected
Global
Questão 147
Questão
How are Apex triggers stored?
Responda
-
As static resources.
-
As metadata in the application, under the object with which they are associated.
-
As .trigger files in the /code directory of your organization's public files.
-
As compiled bytecode in the Salesforce platform Apex app server.
-
As resource files in the Developer Console.
-
None of these
Questão 148
Questão
If the error message contains HTML markup, the escaped markup displays as text and isn't
rendered in the user interface. (Select all that apply)
Questão 149
Questão
Apex code can be initiated in what ways? (Select all that apply)
Questão 150
Questão
Apex is available in which Salesforce Editions? (Select all that apply)
Questão 151
Questão
The system method, [blank_start]System.runAs()[blank_end], lets you write test methods that change user contexts to either
an existing user or a new user.
Questão 152
Questão
The system method, System.runAs(), lets you write test methods that change user contexts to
either an existing user or a new user.
Questão 153
Questão
The System.runAs() functionality can be used to test and verify proper data sharing and data
access. However, System.runAs() does NOT validate CRUD or Field Level Security permissions.
Questão 154
Questão
A developer can use optional catch statements for any exception type in a try-catch block.
However, the general exception type, 'Exception', must only be used by the last catch() block.
EXAMPLE:
try{
// Some risky code.
}
catch(SomeExceptionType e){
// Handle one exception type.
}
catch(SomeOtherExceptionType e){
// Handle another exception type.
}
catch(Exception e){
// This must be the last catch block.
}
~|~
(Select all that apply)
Responda
-
Make calls to methods using both valid and invalid inputs.
-
In the case of conditional logic (including ternary operators), execute each branch of code logic.
-
Only test code using the System Administrator profile.
-
Focus solely on test coverage percentage score.
-
Complete successfully without throwing any exceptions, unless those errors are expected and
caught in a try...catch block.
-
None of these
Questão 155
Questão
Good Apex tests should....
Responda
-
Exercise bulk trigger functionality—use at least 20 records in your tests.
-
Only test code using the Standard User profile.
-
Access live organization data to validate SOQL queries and DML operations.
-
Use the isTest annotation. Classes defined with the isTest annotation do not count against your
organization limit of 3 MB for all Apex code. See IsTest Annotation.
-
Use the runAs method to test your application in different user contexts.
-
None of these
Questão 156
Questão
Although Trigger.new is a collection of records, when used as a bind variable in a SOQL query,
Apex automatically....
Responda
-
Passes the collection to the query, as long as the calling class implements the
Trigger.QueryBind class.
-
Transforms the list of records into a list of corresponding Ids.
-
Truncates the collection so that only the Id and Name fields.
-
Throws a DMLException with the ILLEGAL_QUERY status.
-
Transforms the SOQL to an in-place SOSL query and returns the FIND results.
-
None of these
Questão 157
Questão
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.
Questão 158
Questão
[blank_start]<apex:facet>[blank_end] is a placeholder for content that is rendered in a specific part of the parent
component, such as the header or footer of an <apex:dataTable>.
Questão 159
Questão
By referring to a page in this way, the platform recognizes that this controller or controller
extension is dependent on the existence of the specified page and will prevent the page from
being deleted while the controller or extension exists.
Questão 160
Questão
A Visualforce page consists of which primary elements? (Select all that apply)
Responda
-
An Apex class
-
A Visualforce controller
-
A trigger.
-
S-Controls
-
Visualforce Markup
-
None of the above
Questão 161
Questão
Developers can use Visualforce to create a Visualforce page definition. A page definition consists
of two primary elements:
Visualforce markup
A Visualforce controller
Visualforce markup consists of... (Select all that apply)
Responda
-
Any Web-enabled code
-
Visualforce Tags
-
Apex code
-
HTML
-
JavaScript
-
C# Remoting Modules
-
None of the above
Questão 162
Questão
The markup defines the user interface components that should be included on the page, and the
way they should appear.
Questão 163
Questão
What provides access to data that should be displayed in a Visualforce page, and can modify
Visualforce component behavior?
Responda
-
Validation rules
-
Apex controller
-
MVC controller class
-
Visualforce controller
-
Force.com IDE
-
None of the above
Questão 164
Questão
To leverage functionality of Standard Controllers, while simultaneously adding custom logic, you
must write a custom class that extends the standard controller. You notify the Visualforce page of
your customizations via the "extensions" attribute of the <apex:page> tag.
Questão 165
Questão
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.
Questão 166
Questão
[blank_start]A Standard Controller[blank_end] enables you to create Visualforce pages that can display or act on a set of records.
Questão 167
Questão
A [blank_start]Custom Controller[blank_end] is a class written in Apex that implements all of a page's logic, without leveraging
a standard controller.
Questão 168
Questão
Like other Apex classes, custom controllers execute entirely in [blank_start]System Mode[blank_end], in which the object
and field-level permissions of the current user are ignored.
Questão 169
Questão
If you use a standard controller on a page and the user doesn't have access to the object, the
page will...
Responda
-
Throw an ACCESS_VIOLATION exception.
-
Write an ACCESS_VIOLATION message to the debug log.
-
Display an insufficient privileges error message.
-
Redirect the user to their home page.
-
Ask the user if they would like to upgrade permissions in order to view the object.
-
None of the above
Questão 170
Questão
By using the [blank_start]with sharing[blank_end] keyword in a class definition, a developer can create a custom
controller or controller extension that respects OWD, role hierarchy, and sharing rules.
Questão 171
Questão
A/an [blank_start]Extended Controller[blank_end] is a class written in Apex that adds to or overrides behavior in a standard or
custom controller.
Questão 172
Questão
Developers can use Visualforce pages to: (Select all that apply)
Responda
-
Override standard buttons
-
Override tab overview pages
-
Define custom tabs
-
Embed components in detail page layouts
-
Create dashboard components or custom help pages
-
Create custom Console components.
-
None of these
Questão 173
Questão
Under what circumstances is it appropriate for a developer to add functionality to their application
via the SOAP API? (Select all that apply)
Responda
-
When consumers of the desired functionality have no experience with Force.com development.
-
When the desired functionality processes only one type of record at a time.
-
When the organization chooses not to share its Enterprise WSDL.
-
When the desired functionality does not require any transactional control.
-
None of these
Questão 174
Questão
To aid [blank_start]backwards-compatibility[blank_end], 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.
Questão 175
Questão
One of the best ways to build Visualforce pages and code is by enabling [blank_start]Visualforce development mode[blank_end].
Questão 176
Questão
The[blank_start]View State[blank_end] of a Visualforce page is composed of all the data that's necessary to maintain
the state of the controller during server requests (like sending or receiving data).
Questão 177
Questão
This Apex class lets a developer create an action method that can be used in a Visualforce
custom controller or controller extension.
Responda
-
Apex.Action Class
-
ApexPages.Action Class
-
Action Class
-
Visualforce.Action Class
-
Component.Action Class
-
None of the above
Questão 178
Questão
This Apex class lets a developer access cookies for a Force.com site using Apex.
Questão 179
Questão
This Apex class offers Ideas-specific functionality in addition to what is provided by the
StandardController class.
Responda
-
StandardControllerIdeas Class
-
IdeaCustomController Class
-
IdeaStandard Class
-
IdeaStandardController Class
-
StandardIdeasController Class
-
None of the above
Questão 180
Questão
This Apex class offers article-specific functionality in addition to what is provided by the
StandardController Class.
Responda
-
ArticleExtensionStandard Class
-
StandardKnowledgeContainer Class
-
StandardKnowledgeController Class
-
KnowledgeVersionStandardController Class
-
KnowledgeArticleVersionStandardController Class
-
None of the above
Questão 181
Questão
This Apex class allows developers to collect and display errors when building custom controllers
or extensions.
Responda
-
Exception Class
-
Message Class
-
Debug Class
-
Validation Class
-
Messaging Class
-
None of the above
Questão 182
Questão
This Apex class allows developers to reference an instantiation of a page.
Responda
-
ExistingPage Class
-
VisualforcePage Class
-
PageReference Class
-
URLReference Class
-
PageURLReference Class
-
None of the above
Questão 183
Questão
Objects of this Apex class specify one of the possible values for a Visualforce selectCheckboxes,
selectList, or selectRadio component.
Responda
-
Select Class
-
SelectOption Class
-
OptionSelection Class
-
InputSelection Class
-
InputOption Class
-
None of the above
Questão 184
Questão
Objects of this Apex class reference the pre-built Visualforce controllers provided by
salesforce.com.
Responda
-
VisualforceSetController Class
-
VisualforceController Class
-
Controller Class
-
StandardSetController Class
-
StandardController Class
-
None of the above
Questão 185
Questão
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.
Responda
-
StandardSetController Class
-
StandardController Class
-
Controller Class
-
VisualforceSetController Class
-
VisualforceControllerClass
-
None of the above
Questão 186
Questão
This integration resource is specific to an individual organization, and exposes all of the standard
objects, custom objects, and any custom fields through the SOAP interface.
Responda
-
System WSDL
-
Partner WSDL
-
Custom WSDL
-
Enterprise WSDL
-
Portal WSDL
-
None of the above
Questão 187
Questão
This integration resource provides generic access to any organization, and exposes standard
objects and fields through the SOAP interface.
Responda
-
System WSDL
-
Partner WSDL
-
Custom WSDL
-
Enterprise WSDL
-
Portal WSDL
-
None of the above
Questão 188
Questão
Total number of test classes that can be queued per a 24-hour period (as of Spring'13): The
greater of 500 or 10 multiplied by the number of test classes in the organization
Questão 189
Questão
Which exception type should be checked for when catching exceptions thrown when governor
limits are exceeded?
Responda
-
StackOverflowException
-
LimitException
-
GovernorException
-
PlatformLimitException
-
InvalidLimitException
-
None of these
Questão 190
Questão
This tag acts as a placeholder for your dynamic Apex components. It has one required
parameter—component Value—which accepts the name of an Apex method that returns a
dynamic component.
The following Visualforce components do not have dynamic Apex representations:
<apex:actionRegion>
<apex:attribute>
<apex:component>
<apex:componentBody>
<apex:composition>
<apex:define>
<apex:dynamicComponent>
<apex:flash>
<apex:inputFile>
<apex:include>
<apex:insert>
<apex:pageMessage>
<apex:pageMessages>
<apex:variable>
<apex:vote>
Any non-<apex:> tag, like <chatter:>, <flow:>, <ideas:>, <knowledge:>, <messaging:>, or <site:>
Responda
-
apex:dynamicComponent
-
apex:dataList
-
apex:actionSupport
-
apex:insert
Questão 191
Questão
A data series to be rendered as connected points in a Visualforce chart. At a minimum you must
specify the fields in the data collection to use as X and Y values for each point, as well as the X
and Y axes to scale against.
Note: This component must be enclosed within an <apex:chart> component. You can have
multiple <apex:barSeries> and <apex:lineSeries> components in a single chart.
Responda
-
apex:pageblockSection
-
apex:inputHidden
-
apex:lineSeries
-
apex:inputSecret
Questão 192
Questão
A template component that declares a named area that must be defined by an <apex:define>
component in another Visualforce page. Use this component with the <apex:composition> and
<apex:define> components to share data between multiple pages.
Responda
-
apex:outputText
-
apex:barSeries
-
apex:insert
-
apex:inputFile
Questão 193
Questão
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>).
Responda
-
apex:actionSupport
-
apex:componentBody
-
apex:actionFunction
-
apex:chartTips
Questão 194
Questão
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.
Responda
-
apex:message
-
apex:flash
-
apex:detail
-
apex:listViews
Questão 195
Questão
A component that provides support for invoking controller action methods directly from JavaScript
code using an AJAX request. An <apex:actionFunction> component must be a child of an
<apex:form> component.
Responda
-
apex:messages
-
apex:actionFunction
-
apex:insert
-
apex:outputField
Questão 196
Questão
An HTML input element of type checkbox. Use this component to get user input for a controller
method that does not correspond to a field on a Salesforce object.
Responda
-
apex:dataList
-
apex:inputCheckbox
-
apex:actionPoller
-
apex:componentBody
Questão 197
Questão
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>.
Responda
-
apex:actionStatus
-
apex:listViews
-
apex:inputText
-
apex:pageBlockButtons
Questão 198
Questão
A read-only display of a label and value for a field on a Salesforce object. An <apex:outputField>
component respects the attributes of the associated field, including how it should be displayed to
the user. For example, if the specified <apex:outputField> component is a currency field, the
appropriate currency symbol is displayed. Likewise, if the <apex:outputField> component is a
lookup field or URL, the value of the field is displayed as a link.
Note that if custom help is defined for the field in Setup, the field must be a child of an
<apex:pageBlock> or <apex:pageBlockSectionItem>, and the Salesforce page header must be
displayed for the custom help to appear on your Visualforce page. To override the display of
custom help, use the <apex:outputField> in the body of an <apex:pageBlockSectionItem>.
The Rich Text Area data type can only be used with this component on pages running
Salesforce.com API versions greater than 18.0.
Responda
-
apex:actionRegion
-
apex:actionSupport
-
apex:outputField
-
apex:pageBlock
Questão 199
Questão
A component that creates an input field to upload a file.
Note: The maximum file size that can be uploaded via Visualforce is 10 MB.
Responda
-
apex:barSeries
-
apex:inputFile
-
apex:composition
-
apex:legend
Questão 200
Questão
This tag allows a custom component author to define a location where a user can insert content
into the custom component. This is especially useful for generating custom iteration components.
This component is valid only within an <apex:component> tag, and only a single definition per
custom component is allowed.
Responda
-
apex:facet
-
apex:chart
-
apex:include
-
apex:componentBody