Frage 1
Frage
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.
Antworten
-
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
Frage 2
Frage
What can cross-object formulas reference?
Antworten
-
Both parent and child object records
-
Parent object records only
-
Child object records only
-
Other records of the same object
Frage 3
Frage
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?
Antworten
-
Custom auto number field
-
Custom master-detail field
-
Custom read-only number field
-
Custom lookup relationship field
Frage 4
Frage
Which is a valid formula return type for a custom formula field? Choose 3 answers
Antworten
-
Date
-
Percent
-
Email
-
Phone
-
Currency
Frage 5
Frage
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
Antworten
-
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
Frage 6
Frage
What can be viewed using the process visualizer?
Antworten
-
Approval processes
-
Support processes
-
Workflow rules
-
Sales processes
Frage 7
Frage
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?
Antworten
-
The Review record is also deleted
-
The owner of the Review record changes
-
No change to the Review record
-
An error message is displayed
Frage 8
Frage
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?
Antworten
-
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
Frage 9
Frage
Which type of custom field can be an external ID?
Antworten
-
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
Frage 10
Frage
Why might a reporting snapshot fail during a scheduled run? Choose 3 answers
Antworten
-
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.
Frage 11
Frage
When do users have the option to manually share records they own from the record detail page?
Antworten
-
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.
Frage 12
Frage
Which dashboard component displays a grand total across a set of data? Choose 2 answers
Frage 13
Frage
In which Salesforce environments will the Force.com record IDs be identical?
Antworten
-
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.
Frage 14
Frage
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?
Frage 15
Frage
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?
Antworten
-
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
Frage 16
Frage
Which statement is TRUE about field-level security? Choose 2 answers
Antworten
-
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.
Frage 17
Frage
If a change is made to an approval process, how can a developer determine the user that made
the change? Choose 2 answers
Antworten
-
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
Frage 18
Frage
What is NOT a component of a custom Force.com application?
Antworten
-
Data warehouse
-
Custom object
-
Custom tab
-
Default landing tab
Frage 19
Frage
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?
Antworten
-
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.
Frage 20
Frage
Which standard profile has the "View Encrypted Data" permission by default?
Frage 21
Frage
Which developer tool can be used to create a data model? Choose 2 answers
Frage 22
Frage
Which statement is TRUE about master-detail relationships in the Force.com platform? Choose 2
answers
Antworten
-
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.
Frage 23
Frage
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
Antworten
-
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.
Frage 24
Frage
What is Development?
Antworten
-
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
Frage 25
Antworten
-
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
Frage 26
Antworten
-
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
Frage 27
Antworten
-
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
Frage 28
Frage
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?
Antworten
-
Summary
-
Pivot
-
Reporting Snapshot
-
Tabular
Frage 29
Frage
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?
Antworten
-
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.
Frage 30
Frage
What must a developer consider when inserting records using an API-based tool? Choose 2
answers
Antworten
-
Required fields on page layouts are enforced.
-
Universally required field settings are respected.
-
Apex triggers are ignored.
-
Invalidation rules are respected.
Frage 31
Frage
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
Antworten
-
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.
Frage 32
Frage
Which feature is available for custom objects? Choose 3 answers
Antworten
-
Queues
-
Field history tracking
-
Assignment rules
-
Criteria-based sharing
Frage 33
Frage
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
Frage 34
Frage
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?
Antworten
-
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
Frage 35
Frage
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?
Antworten
-
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.
Frage 36
Frage
For objects where data access is granted through the role hierarchy, how is access granted?
Antworten
-
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.
Frage 37
Frage
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?
Antworten
-
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
Frage 38
Frage
Which field is available as part of the translation workbench for a validation rule?
Antworten
-
Formula
-
Description
-
Error Message
-
Rule Criteria
Frage 39
Frage
Which statement is true regarding Force.com Sites? Choose 3 answers
Antworten
-
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.
Frage 40
Frage
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?
Antworten
-
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.
Frage 41
Frage
Which mechanism allows for authenticated access to a Force.com Site? Choose 2 answers
Antworten
-
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
Frage 42
Frage
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?
Antworten
-
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
Frage 43
Frage
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
Antworten
-
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.
Frage 44
Frage
How can a wireless device user approve a record? Choose 3 answers
Frage 45
Frage
Which portion of the Model-View-Controller paradigm is represented in Force.com as a standard
or custom object?
Frage 46
Frage
In a master-detail relationship, what happens to the child records if the parent record is deleted?
Antworten
-
Parent record deletion fails.
-
Child records are not deleted.
-
A subset of the child records is deleted.
-
Child records are deleted.
Frage 47
Frage
Which action is available to a developer when two objects are connected by a lookup relationship?
Choose 2 answers
Antworten
-
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
Frage 48
Frage
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?
Antworten
-
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
Frage 49
Frage
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
Antworten
-
Custom applications
-
Custom relationships
-
Custom fields
-
Custom objects
-
Custom tabs
Frage 50
Frage
What is a Junction object?
Antworten
-
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
Frage 51
Frage
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?
Antworten
-
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
Frage 52
Frage
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?
Frage 53
Frage
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?
Antworten
-
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
Frage 54
Frage
Which type of tab can a developer create? Choose 3 answers.
Antworten
-
Apex tabs
-
web tabs
-
standard object tabs
-
Visualforce tabs
-
custom object tabs
Frage 55
Frage
Which property of a field can be edited within the page layout editor? Choose 2 answers
Antworten
-
Read-only
-
Controller
-
Always Displayed
-
Field Dependency
-
Required
Frage 56
Frage
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
Frage 57
Frage
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.
Antworten
-
apex:attribute
-
apex:enhancedList
-
apex:actionFunction
-
apex:inputCheckbox
Frage 58
Frage
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.
Frage 59
Frage
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.
Antworten
-
apex:listViews
-
apex:dataTable
-
apex:define
-
apex:inputHidden
Frage 60
Frage
What three classes along with the Messaging.InboundEmailHandler are used to handle inbound
email messages in Salesforce? (No Answer)
Antworten
-
Apex code, Visualforce pages, and controllers
-
Messaging.InboundEmail, Messaging.InboundEmailResult, Messaging.InboundEnvelope
-
Messaging.InboundEmailHandler
-
Make calls to methods using both valid and invalid inputs.
Frage 61
Frage
How can the default profile under which Webservices execute be changed? (No Answer)
Antworten
-
with sharing keyword
-
Webservice
-
SOQL statements
-
constructor
Frage 62
Frage
What are some RESTful service callout HTTP verbs? (No Answer)
Antworten
-
GET, POST, PUT, DELETE
-
System, debug
-
List of List Objects
-
Setup menu
Frage 63
Frage
What is the maximum size of a SOAP request or response regulated by? (No Answer)
Antworten
-
@ReadOnly
-
RETURNING
-
Trigger.old
-
a governor limit
Frage 64
Frage
What trigger method is used to correlate IDI-to-sObject maps? (No Answer)
Frage 65
Frage
Which form of dml operation allows execution to occur with subsequent records even if an error
occurs with a single record? (No Answer)
Frage 66
Frage
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)
Antworten
-
Static and final
-
A governor limit
-
Traditional for loops
-
SOQL for loops
Frage 67
Frage
What language is Apex similar to? (No Answer)
Frage 68
Frage
What does Apex provide to support programmatic control of the workflow? (No Answer)
Antworten
-
Map, List, Set
-
Apex classes
-
Through class itself
-
Apex process classes
Frage 69
Frage
What are all the datatypes that Salesforce supports? (No Answer)
Antworten
-
Primitive, sObject, Collections, Null
-
SOAP Web Service Callouts
-
List of List Objects
-
GET, POST, PUT, DELETE
Frage 70
Frage
How should one prevent soql injection when using dynamic soql? (No Answer)
Antworten
-
XMLStreanWriter, XMLStreamReader
-
Messaging.InboundEmailHandler
-
with sharing keyword
-
Utilize the String.escapeSingleQuotes(string) method
Frage 71
Frage
How does the Email service process inbound emails? (No Answer)
Antworten
-
Apex classes
-
Exceptions
-
FALSE
-
catch
Frage 72
Frage
What two ways are available to customize and create applications in salesforce? (No Answer)
Frage 73
Frage
What annotation can be used with Web Services to allow unrestricted queries when no DML
operations are necessary? (No Answer)
Antworten
-
@ReadOnly
-
For loops
-
RETURNING
-
TRUE
Frage 74
Frage
What email addresses can emails be sent to out of Salesforce? (No Answer)
Antworten
-
Schema Explorer
-
Plural name plus__r
-
Static and final
-
Internal and external
Frage 75
Frage
What is a class? (No Answer)
Antworten
-
Apex, Visualforce, and APIs
-
Database class method
-
A template from which objects are created
-
Ajax toolkit, client program
Frage 76
Frage
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.
Antworten
-
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.
Frage 77
Frage
What can the Force.com IDE be used to create? (No Answer)
Antworten
-
Apex code, Visualforce pages, and controllers
-
Standalone, database class methods
-
Record level access
-
Apex, Visualforce, and APIs
Frage 78
Frage
What are the types of exception classes developers can choose between in Apex? (No Answer)
Frage 79
Frage
Which trigger context variable cannot be deleted? (No Answer)
Antworten
-
RETURNING
-
on-demand
-
Exceptions
-
Trigger.new
Frage 80
Frage
What is the this keyword used to represent? (No Answer)
Antworten
-
A template from which objects are created
-
FALSE, they must be static
-
Methods and attributes of the current instance of a class
-
Encapsulation principles
Frage 81
Frage
What code is the webservice keyword not allowed to be used? (No Answer)
Frage 82
Frage
What is the total number of messages that all email services put together can process in a day?
(No Answer)
Frage 83
Frage
Which keywords should u specify to define a constant?
static and exception
static and final
static and private
exception and final(No Answer)
Antworten
-
Setup menu
-
Multi-tenant
-
static and final
-
SOQL statements
Frage 84
Frage
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)
Antworten
-
Public class MyNewClass
-
Database class method
-
SOQL statements
-
Static and final
Frage 85
Frage
What are the stages of an application development process? (No Answer)
Antworten
-
Declaratively, programmatically
-
Primitive, sObject, Collections, Null
-
Develop, integrate, stage, production/training
-
Manual sharing, apex sharing
Frage 86
Frage
What types of sharing are available to developers to share records? (No Answer)
Antworten
-
Messaging, sendEmail
-
Manual sharing, apex sharing
-
Batch apex, apex scheduler
-
With sharing keyword
Frage 87
Frage
What does Apex use to record disruptions in code execution? (No Answer)
Antworten
-
Exceptions
-
Ids
-
Primitive
-
addError
Frage 88
Frage
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)
Antworten
-
Encapsulation principles
-
Salesforce ui, force.com ide, runTests web service
-
Apex runs in a multitenant environment.
-
A template from which objects are created
Frage 89
Frage
Which of the following are collection data types?
String
Map
List
Date
Set
Number
Salesforce DEV-501 Exam
Antworten
-
For loops
-
FALSE
-
Primitive
-
Map, List, Set
Frage 90
Frage
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
Antworten
-
HTTP class, HTTPRequesL class, HTTPRsponse class
-
Apex classes
-
Logs, anonymous blocks
-
Apex code, Visualforce pages, and controllers
Frage 91
Frage
What statements are used to retrieve records from an sObject in the Force.com database? (No
Answer)
Antworten
-
SOQL statements
-
sObject
-
SOQL for loops
-
multi-tenant
Frage 92
Frage
What are all the datatypes that Salesforce supports?
Antworten
-
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?
Frage 93
Frage
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.
Antworten
-
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
Frage 94
Frage
What are the five types of Apex procedural loops? (No Answer)
Antworten
-
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
Frage 95
Frage
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
Antworten
-
For loops
-
FALSE
-
Exceptions
-
SOQL for loops
Frage 96
Frage
Which of the following statements identifies the block of code that can handle a particular
exception?
catch
finally
try
throw
Frage 97
Frage
The method used to create an object out of a class definition is called a:
Antworten
-
constructor
-
For loops
-
Webservice
-
TRUE
Frage 98
Frage
How do you call Web Services from external sources? (No Answer)
Frage 99
Frage
What does each email service have for which users can send messages? (No Answer)
Frage 100
Frage
What two ways can classes be created in salesforce? (No Answer)
Antworten
-
isSuccess, sendEmailError
-
Apex, Visualforce, and APIs
-
Through UI, Force.com IDE project
-
Bounced, discarded, queued
Frage 101
Frage
What determines how the email service responds when an attempt to access the email service
fails? (No Answer)
Frage 102
Frage
What are access modifiers used to implement? (No Answer)
Antworten
-
Traditional for loops
-
Encapsulation principles
-
Class, trigger
-
Static and final
Frage 103
Frage
What is the maximum size of a SOAP request or response? (No Answer)
Frage 104
Frage
What are the two types of logs? (No Answer)
Antworten
-
System, debug
-
TRUE
-
On-demand
-
3 MB
Frage 105
Frage
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>;
Antworten
-
Map<Integer, String> numbers = new Map<Integer, String>;
-
Code contained in a trigger
-
Failure response settings
-
Manual sharing, apex sharing
Frage 106
Frage
Which trigger context variable allows you to modify field values before they are written to the
database in the before trigger? (No Answer)
Antworten
-
Trigger.new
-
Trigger.old
-
@ReadOnly
-
TRUE
Frage 107
Frage
What are the four ways to deploy Apex code? (No Answer)
Antworten
-
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
Frage 108
Frage
What datatype is used for standard or custom objects that store record data? (No Answer)
Frage 109
Frage
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.
Antworten
-
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.
Frage 110
Frage
Under what profile do Webservice methods execute by default?
Frage 111
Frage
What are the three ways to run unit tests?
Antworten
-
Salesforce ui, force.com ide, runTests web service
-
Dates, Ids, Numbers
-
FALSE, they must be static
-
System-defined, user-defined
Frage 112
Frage
What is the default return type of a sosl statement?
Antworten
-
Apex process classes
-
Apex classes
-
List of List Objects
-
SOQL for loops
Frage 113
Frage
Which trigger context variable allows you to modify field values before they are written to the
database in the before trigger?
Antworten
-
@ReadOnly
-
RETURNING
-
Webservice
-
Trigger.new
Frage 114
Frage
How are static methods and attributes access?
Antworten
-
Map, List, Set
-
Class, trigger
-
Apex classes
-
Through class itself
Frage 115
Frage
Which keywords do developers use to handle exceptions in Apex?
Frage 116
Frage
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
Antworten
-
RETURNING
-
Implicit invocation
-
Primitive
-
SOQL for loops
Frage 117
Frage
What two methods of customization are available to create applications in salesforce?
Frage 118
Frage
How should one prevent soql injection when using dynamic soql?
Frage 119
Frage
What components of apex are available to improve the processing of data in Salesforce?
Frage 120
Frage
Which trigger context variable cannot be deleted?
Antworten
-
addError
-
System
-
@ReadOnly
-
Trigger.new
Frage 121
Frage
What are two key tools to debug code in Salesforce?
Antworten
-
Dates, Ids, Numbers
-
Logs, anonymous blocks
-
Debug logs, email logs
-
List of List Objects
Frage 122
Frage
Which trigger context variable is not saved in the after trigger and causes an exception to be
thrown?
Antworten
-
Trigger.new
-
addError
-
Primitive
-
TRUE
Frage 123
Frage
What statements are used to retrieve records from an sObject in the Force.com database?
Antworten
-
Exceptions
-
On-demand
-
Map, List, Set
-
SOQL statements
Frage 124
Frage
What is the size of the batches in which triggers execute?
Frage 125
Frage
What interface does the Apex email handler implement to setup and inbound email service?
Frage 126
Frage
Can apex code be created directly in the production environment?
Frage 127
Frage
What are two ways to invoke a custom web service?
Frage 128
Frage
What components must be deployed manually to the production environment?
Antworten
-
Queues, time triggers
-
Multi-tenant
-
Constructor
-
Dates, Ids, Numbers
Frage 129
Frage
In what code is the webservice keyword not allowed to be used?
Frage 130
Frage
What types of sharing are available to developers to share records?
Antworten
-
Failure response settings
-
Manual sharing, apex sharing
-
Dates, Ids, Numbers
-
Apex, Visualforce, and APIs
Frage 131
Frage
List the HTTP classes available in Salesforce?
Antworten
-
GET, POST, PUT, DELETE
-
Failure response settings
-
Queues, time triggers
-
HTTPRequest, HTTPResponse, HTTP
Frage 132
Frage
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
Antworten
-
Salesforce-generated email address
-
Apex code, Visualforce pages, and controllers
-
Developer edition production org, Enterprise edition sandbox org
-
Encapsulation principles
Frage 133
Frage
What is the list of steps to match regular expressions using the Pattern and Matcher classes?
Antworten
-
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
Frage 134
Frage
What is the this keyword used to represent?
Antworten
-
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
Frage 135
Frage
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.
Antworten
-
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
Frage 136
Frage
What does Apex use to record disruptions in code execution?
Antworten
-
@ReadOnly
-
Catch
-
Webservice
-
Exceptions
Frage 137
Frage
What keyword is used to create custom Web Services from an apex method?
Antworten
-
FALSE
-
TRUE
-
Trigger.new
-
Webservice
Frage 138
Frage
What two forms of dml operations can be used in apex?
Frage 139
Frage
Each setSavepoint() and rollback statement counts against the total number of DML statements.
Frage 140
Frage
What term indicates that Salesforce is a platform which allows clients to share hardware, storage
and other infrastructure?
Antworten
-
System
-
On-demand
-
TRUE
-
Multi-tenant
Frage 141
Frage
What two methods of customization are available to create applications in salesforce?
Frage 142
Frage
Which fields are returned by sosl by default?
Frage 143
Frage
What name identifies datatypes such as Integer, Boolean, String and Enum in Salesforce?
Antworten
-
Primitive
-
@ReadOnly
-
Trigger.new
-
FALSE
Frage 144
Frage
What trigger method is used to help prevent completion of a DML event?
Frage 145
Frage
How are programmatic cusomizations done in Salesforce?
Frage 146
Frage
Which access modifier should u specify for a class containing the webService keword?
Public
Private
Protected
Global
Frage 147
Frage
How are Apex triggers stored?
Antworten
-
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
Frage 148
Frage
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)
Frage 149
Frage
Apex code can be initiated in what ways? (Select all that apply)
Frage 150
Frage
Apex is available in which Salesforce Editions? (Select all that apply)
Frage 151
Frage
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.
Frage 152
Frage
The system method, System.runAs(), lets you write test methods that change user contexts to
either an existing user or a new user.
Frage 153
Frage
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.
Frage 154
Frage
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)
Antworten
-
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
Frage 155
Frage
Good Apex tests should....
Antworten
-
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
Frage 156
Frage
Although Trigger.new is a collection of records, when used as a bind variable in a SOQL query,
Apex automatically....
Antworten
-
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
Frage 157
Frage
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.
Frage 158
Frage
[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>.
Frage 159
Frage
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.
Frage 160
Frage
A Visualforce page consists of which primary elements? (Select all that apply)
Antworten
-
An Apex class
-
A Visualforce controller
-
A trigger.
-
S-Controls
-
Visualforce Markup
-
None of the above
Frage 161
Frage
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)
Antworten
-
Any Web-enabled code
-
Visualforce Tags
-
Apex code
-
HTML
-
JavaScript
-
C# Remoting Modules
-
None of the above
Frage 162
Frage
The markup defines the user interface components that should be included on the page, and the
way they should appear.
Frage 163
Frage
What provides access to data that should be displayed in a Visualforce page, and can modify
Visualforce component behavior?
Antworten
-
Validation rules
-
Apex controller
-
MVC controller class
-
Visualforce controller
-
Force.com IDE
-
None of the above
Frage 164
Frage
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.
Frage 165
Frage
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.
Frage 166
Frage
[blank_start]A Standard Controller[blank_end] enables you to create Visualforce pages that can display or act on a set of records.
Frage 167
Frage
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.
Frage 168
Frage
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.
Frage 169
Frage
If you use a standard controller on a page and the user doesn't have access to the object, the
page will...
Antworten
-
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
Frage 170
Frage
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.
Frage 171
Frage
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.
Frage 172
Frage
Developers can use Visualforce pages to: (Select all that apply)
Antworten
-
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
Frage 173
Frage
Under what circumstances is it appropriate for a developer to add functionality to their application
via the SOAP API? (Select all that apply)
Antworten
-
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
Frage 174
Frage
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.
Frage 175
Frage
One of the best ways to build Visualforce pages and code is by enabling [blank_start]Visualforce development mode[blank_end].
Frage 176
Frage
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).
Frage 177
Frage
This Apex class lets a developer create an action method that can be used in a Visualforce
custom controller or controller extension.
Antworten
-
Apex.Action Class
-
ApexPages.Action Class
-
Action Class
-
Visualforce.Action Class
-
Component.Action Class
-
None of the above
Frage 178
Frage
This Apex class lets a developer access cookies for a Force.com site using Apex.
Frage 179
Frage
This Apex class offers Ideas-specific functionality in addition to what is provided by the
StandardController class.
Antworten
-
StandardControllerIdeas Class
-
IdeaCustomController Class
-
IdeaStandard Class
-
IdeaStandardController Class
-
StandardIdeasController Class
-
None of the above
Frage 180
Frage
This Apex class offers article-specific functionality in addition to what is provided by the
StandardController Class.
Antworten
-
ArticleExtensionStandard Class
-
StandardKnowledgeContainer Class
-
StandardKnowledgeController Class
-
KnowledgeVersionStandardController Class
-
KnowledgeArticleVersionStandardController Class
-
None of the above
Frage 181
Frage
This Apex class allows developers to collect and display errors when building custom controllers
or extensions.
Antworten
-
Exception Class
-
Message Class
-
Debug Class
-
Validation Class
-
Messaging Class
-
None of the above
Frage 182
Frage
This Apex class allows developers to reference an instantiation of a page.
Antworten
-
ExistingPage Class
-
VisualforcePage Class
-
PageReference Class
-
URLReference Class
-
PageURLReference Class
-
None of the above
Frage 183
Frage
Objects of this Apex class specify one of the possible values for a Visualforce selectCheckboxes,
selectList, or selectRadio component.
Antworten
-
Select Class
-
SelectOption Class
-
OptionSelection Class
-
InputSelection Class
-
InputOption Class
-
None of the above
Frage 184
Frage
Objects of this Apex class reference the pre-built Visualforce controllers provided by
salesforce.com.
Antworten
-
VisualforceSetController Class
-
VisualforceController Class
-
Controller Class
-
StandardSetController Class
-
StandardController Class
-
None of the above
Frage 185
Frage
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.
Antworten
-
StandardSetController Class
-
StandardController Class
-
Controller Class
-
VisualforceSetController Class
-
VisualforceControllerClass
-
None of the above
Frage 186
Frage
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.
Antworten
-
System WSDL
-
Partner WSDL
-
Custom WSDL
-
Enterprise WSDL
-
Portal WSDL
-
None of the above
Frage 187
Frage
This integration resource provides generic access to any organization, and exposes standard
objects and fields through the SOAP interface.
Antworten
-
System WSDL
-
Partner WSDL
-
Custom WSDL
-
Enterprise WSDL
-
Portal WSDL
-
None of the above
Frage 188
Frage
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
Frage 189
Frage
Which exception type should be checked for when catching exceptions thrown when governor
limits are exceeded?
Antworten
-
StackOverflowException
-
LimitException
-
GovernorException
-
PlatformLimitException
-
InvalidLimitException
-
None of these
Frage 190
Frage
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:>
Antworten
-
apex:dynamicComponent
-
apex:dataList
-
apex:actionSupport
-
apex:insert
Frage 191
Frage
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.
Antworten
-
apex:pageblockSection
-
apex:inputHidden
-
apex:lineSeries
-
apex:inputSecret
Frage 192
Frage
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.
Antworten
-
apex:outputText
-
apex:barSeries
-
apex:insert
-
apex:inputFile
Frage 193
Frage
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>).
Antworten
-
apex:actionSupport
-
apex:componentBody
-
apex:actionFunction
-
apex:chartTips
Frage 194
Frage
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.
Antworten
-
apex:message
-
apex:flash
-
apex:detail
-
apex:listViews
Frage 195
Frage
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.
Antworten
-
apex:messages
-
apex:actionFunction
-
apex:insert
-
apex:outputField
Frage 196
Frage
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.
Antworten
-
apex:dataList
-
apex:inputCheckbox
-
apex:actionPoller
-
apex:componentBody
Frage 197
Frage
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>.
Antworten
-
apex:actionStatus
-
apex:listViews
-
apex:inputText
-
apex:pageBlockButtons
Frage 198
Frage
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.
Antworten
-
apex:actionRegion
-
apex:actionSupport
-
apex:outputField
-
apex:pageBlock
Frage 199
Frage
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.
Antworten
-
apex:barSeries
-
apex:inputFile
-
apex:composition
-
apex:legend
Frage 200
Frage
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.
Antworten
-
apex:facet
-
apex:chart
-
apex:include
-
apex:componentBody