Quiz
DEV-501-I
Dieses Quiz hat ein Zeitlimit und öffnet sich deshalb im gewohnten Player.
Fragen in diesem Quiz (200)
1Universal 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.- AChange the interviewer's profile to Read-only for the review object
- BUse workflow to change the page layout to Read-only
- CRemove the Delete button from the job application page layout
- DUse a validation rule in conjunction with a roll-up summary field
2What can cross-object formulas reference?
- ABoth parent and child object records
- BParent object records only
- CChild object records only
- DOther records of the same object
3Universal 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?- ACustom auto number field
- BCustom master-detail field
- CCustom read-only number field
- DCustom lookup relationship field
4Which is a valid formula return type for a custom formula field? Choose 3 answers
- ADate
- BPercent
- CEmail
- DPhone
- ECurrency
5A 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- AFormula fields can aggregate data from child records.
- BFormula fields can be created and deployed using only a browser.
- CFormula fields do not require test methods to deploy.
- DFormula fields allow greater control and flexibility than Apex triggers
6What can be viewed using the process visualizer?
- AApproval processes
- BSupport processes
- CWorkflow rules
- DSales processes
7In 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?- AThe Review record is also deleted
- BThe owner of the Review record changes
- CNo change to the Review record
- DAn error message is displayed
8A 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?- AUse workflow to change the field-level security
- BUse validation rules to expose the field
- CUse multiple Visualforce pages
- DUse workflow to change the record type
9Which type of custom field can be an external ID?
- ACustom field of any type
- BPhone Number, Email, URL and Text-based fields
- CText, Number, or Formula fields only
- DText, Email, or Number fields only
10Why might a reporting snapshot fail during a scheduled run? Choose 3 answers
- AThe target object is a custom object.
- BThe target object contains an Apex trigger.
- CThe running user has been made inactive.
- DThe source report has been resaved as a matrix report.
- EThe source report was not created by an Administrator.
11When do users have the option to manually share records they own from the record detail page?
- AWhen a developer adds the Sharing button to the page layout.
- BWhen a developer grants the users the Share Records permission.
- CWhen the organization wide default for the object is set to private or read-only.
- DWhen the organization wide default for the object is set to public read/write.
12Which dashboard component displays a grand total across a set of data? Choose 2 answers
- AChart
- BPivot
- CMetric
- DTable
13In which Salesforce environments will the Force.com record IDs be identical?
- AProduction and Full Copy Sandbox only
- BProduction and Developer Sandbox only
- CProduction, Full Copy Sandbox, and Developer Sandbox
- DForce.com record IDs are never identical.
14A 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?- AImposition page layouts
- BPosition search layouts
- CPosition record types
- DPosition field dependencies
15Universal 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?- ACreate the Interview Score field as a picklist, displayed as a radio button on the page layout
- BCreate a formula field that displays the interview score as a set of radio buttons
- CCreate a Visualforce component to display the interview score as a set of radio buttons
- DCreate the Interview Score field with a data type of radio button
16Which statement is TRUE about field-level security? Choose 2 answers
- AIt is specified for each profile.
- BIt can be controlled at the record level.
- CIt Is enforced in the SOAP API.
- DIt determines the values displayed in a visible picklist field.
17If a change is made to an approval process, how can a developer determine the user that made
the change? Choose 2 answers- ABy examining the setup audit trail
- BBy checking the field history on the associated record
- CBy looking at "Modified By" on the approval definition
- DBy examining the Debug Log
18What is NOT a component of a custom Force.com application?
- AData warehouse
- BCustom object
- CCustom tab
- DDefault landing tab
19In 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?- ACreate multiple approval processes, one for each executive team member, and utilize parallel
submission. - BCreate an approval process which utilizes parallel approvers, but does not require unanimous
approval. - CCreate parallel workflow rules, requiring at least one executive team member to complete their
assigned task. - DCreate an approval process with a step for each executive team member, allowing approval
steps to be skipped.
- ACreate multiple approval processes, one for each executive team member, and utilize parallel
20Which standard profile has the "View Encrypted Data" permission by default?
- ASystem Administrator Profile
- BSolution Manager Profile
- CStandard User Profile
- DNo profile has the permission active by default
21Which developer tool can be used to create a data model? Choose 2 answers
- AForce.com IDE
- BSchema Builder
- CApplication Data Model Wizard
- DForce.com Data Loader
22Which statement is TRUE about master-detail relationships in the Force.com platform? Choose 2
answers- AThe master-detail relationship field is required on the page layout of the detail record.
- BWhen defining a master-detail relationship, the custom object on which you are working is the
master. - CThe security settings for the master record control the detail record.
- DWhen a master record is deleted, the child records remain in the system without a master
record.
23In 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- ASet the organization-wide default for positions to public read-only, then use a sharing rule to
restrict access to closed positions. - BSpecify view only access for open positions on users' profiles.
- CSet the organization-wide default for positions to private, then use a criteria-based sharing rule
to automatically share open positions. - DSet the organization-wide default for positions to private, allowing owners to use manual
sharing to add or remove access as positions change status.
- ASet the organization-wide default for positions to public read-only, then use a sharing rule to
24What is Development?
- Atools and environments used to develop Force.com application
- Bcontrols application's appearance
- Cdefines objects, fields and relationships
- Dcreate tasks, assigns records, does time-based actions
25User interface:
- Atools and environments used to develop Force.com application
- Bcontrols application's appearance
- Cdefines objects, fields and relationships
- Dcreate tasks, assigns records, does time-based actions
26Data model:
- Atools and environments used to develop Force.com application
- Bcontrols application's appearance
- Cdefines objects, fields and relationships
- Dcreate tasks, assigns records, does time-based actions
27Logic:
- Atools and environments used to develop Force.com application
- Bcontrols application's appearance
- Cdefines objects, fields and relationships
- Dcreate tasks, assigns records, does time-based actions
28Positions 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?- ASummary
- BPivot
- CReporting Snapshot
- DTabular
29A 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?- AThe import wizards cannot Import data from CSV files.
- BThe import wizards do not support custom objects.
- CThe import wizards do not import files to specify record owner.
- DThe import wizards do not support the User object.
30What must a developer consider when inserting records using an API-based tool? Choose 2
answers- ARequired fields on page layouts are enforced.
- BUniversally required field settings are respected.
- CApex triggers are ignored.
- DInvalidation rules are respected.
31A 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- AAdministrators can add additional currencies after the application has been built.
- BRoll-up summary fields on a parent record will calculate incorrectly if the child records have
multiple currencies. - CThe multi-currency feature will automatically track historical exchange rates.
- DCurrency ISO code will need to be supplied when inserting records in different currencies.
32Which feature is available for custom objects? Choose 3 answers
- AQueues
- BField history tracking
- CAssignment rules
- DCriteria-based sharing
33In 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- ATime-based workflow queue
- BActivity History related list
- CBug History related list
- DDebug Log
34Object 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?- ACreate a matrix report with A and B records as column headings and C records as row
headings - BCreate a custom report type that includes A with B with C
- CCreate a summary report with a custom summary formula summarizing by A, then B, then C
- DRun a report using the standard report type: A with B with C
- ACreate a matrix report with A and B records as column headings and C records as row
35Universal 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?- ACreate a workflow field update to set the property of the Actual Salary field to Required
- BCreate a field dependency between the Salary Amount and status of Accepted.
- CCreate a validation rule to make sure that the Actual Salary is not null whenever an offer is
accepted. - DCreate a validation rule to make Actual Salary required each time the offer record is saved.
36For objects where data access is granted through the role hierarchy, how is access granted?
- AUsers are granted access to data accessible by users below them in the role hierarchy.
- BUsers are only granted access to data owned by users below them In the role hierarchy.
- CUsers are only granted read access to data owned by users above them in the role hierarchy.
- DUsers are granted access to data accessible to users in the same role in the role hierarchy.
37In 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?- ACreate a lookup relationship between Position and Salary; set organization-wide defaults to
Public Read-Only for Position and Private for Salary - BCreate a master-detail relationship between Position and Salary; set organization-wide defaults
to Private for Position and Salary - CCreate a master-detail relationship between Position and Salary; set organization-wide defaults
to Public Read only for Position and Private for Salary - DCreate a lookup relationship between Position and Salary; set organization-wide defaults to
Private for Position and Salary
- ACreate a lookup relationship between Position and Salary; set organization-wide defaults to
38Which field is available as part of the translation workbench for a validation rule?
- AFormula
- BDescription
- CError Message
- DRule Criteria
39Which statement is true regarding Force.com Sites? Choose 3 answers
- ASites can leverage declarative page layouts as web pages.
- BSites enables developers to build public, unauthenticated websites.
- CSites are built with Visualforce pages.
- DSites leverage data and content in a Salesforce org.
40Object 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?- ACreate a roll-up summary field on Object X that retrieves the value from Y.
- BCreate a text field on Object X and use a workflow rule to fill in the value upon the creation of X
- CCreate a cross-object formula field on Object X that retrieves the value from Y.
- DCreate a text field on Object X and use Apex to populate the value.
41Which mechanism allows for authenticated access to a Force.com Site? Choose 2 answers
- AIt is not possible to provide authentication for a Force.com Site
- BAn active Customer Portal
- CAn active Partner Portal
- DSetting restricted IP ranges for your site
42Universal 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?- AAssign the Read-only profile to all users
- BSet the organization wide default for positions to Read-only
- CRemove the Delete permission for positions from all profiles
- DRemove the Delete Access for positions from all user roles
43In 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- AReview records will inherit ownership from the associated job application.
- BDeleting a job application record will delete associated review records.
- CThe master-detail relationship between Job Applications and Reviews is defined on the Job
Application object. - DReview records may exist without an associated job application.
44How can a wireless device user approve a record? Choose 3 answers
- Avia a text message
- Bvia Approvals in Chatter
- Cvia voice recognition
- Dvia email from a wireless device
- Evia Salesforce1
45Which portion of the Model-View-Controller paradigm is represented in Force.com as a standard
or custom object?- AModel
- BController
- CView
46In a master-detail relationship, what happens to the child records if the parent record is deleted?
- AParent record deletion fails.
- BChild records are not deleted.
- CA subset of the child records is deleted.
- DChild records are deleted.
47Which action is available to a developer when two objects are connected by a lookup relationship?
Choose 2 answers- Acreate a roll-up summary field on the parent object to count child records
- Bcreate a custom report type that allows customization of fields displayed from both parent and
child objects - Ccreate a cross-object formula field on the child object to reference fields on the parent object
- Dcreate a cross-object formula field on the parent object to reference fields on the child object
48Universal 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?- ACreate a workflow action to clone the position, assigned to the owner of the position record, that
is due 14 days after record creation - BCreate a validation rule that compares today's date and the record's creation date to determine
if the difference is greater than 14 days - CRecreate a time-dependent workflow action that sends an email to the recruiter if the position is
still open 14 days after record creation - DCreate a time-dependent workflow action that updates the position status to Closed 14 days
after record creation
- ACreate a workflow action to clone the position, assigned to the owner of the position record, that
49Given 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- ACustom applications
- BCustom relationships
- CCustom fields
- DCustom objects
- ECustom tabs
50What is a Junction object?
- AA standard object with a master-detail relationship
- BA custom object with two master-detail relationships
- CA standard object with two master-detail relationships
- DA custom object with a master-detail relationship
51A 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?- AEnable Advanced Search on the object's related list
- BCustomize the search filter fields layout for that object
- CCreate a Visualforce page to replace the object detail view
- DConfigure the object's related list to add a filter
52Hiring 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?- AUse custom summary formulas
- BUse matrix reports
- CUse charts
- DUse conditional highlighting
53Users 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?- AUse a custom Visualforce page to make the email address visible to user X but not user Y
- BUse a sharing rule to make the email address only visible to user X
- Cuse page layouts to make the email address visible to user X but not user Y
- DUse field-level security to make the email address visible to user X but not user Y
54Which type of tab can a developer create? Choose 3 answers.
- AApex tabs
- Bweb tabs
- Cstandard object tabs
- DVisualforce tabs
- Ecustom object tabs
55Which property of a field can be edited within the page layout editor? Choose 2 answers
- ARead-only
- BController
- CAlways Displayed
- DField Dependency
- ERequired
56A 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- ACreate New sidebar component
- BCustom reporting
- CRecent items
- DQuick create
- ESearch
57The 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.- Aapex:attribute
- Bapex:enhancedList
- Capex:actionFunction
- Dapex:inputCheckbox
58Defines 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.- Aapex:dataTable
- Bapex:legend
- Capex:pageBlockSectionItem
- Dapex:inputSecret
59An 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.- Aapex:listViews
- Bapex:dataTable
- Capex:define
- Dapex:inputHidden
60What three classes along with the Messaging.InboundEmailHandler are used to handle inbound
email messages in Salesforce? (No Answer)- AApex code, Visualforce pages, and controllers
- BMessaging.InboundEmail, Messaging.InboundEmailResult, Messaging.InboundEnvelope
- CMessaging.InboundEmailHandler
- DMake calls to methods using both valid and invalid inputs.
61How can the default profile under which Webservices execute be changed? (No Answer)
- Awith sharing keyword
- BWebservice
- CSOQL statements
- Dconstructor
62What are some RESTful service callout HTTP verbs? (No Answer)
- AGET, POST, PUT, DELETE
- BSystem, debug
- CList of List Objects
- DSetup menu
63What is the maximum size of a SOAP request or response regulated by? (No Answer)
- A@ReadOnly
- BRETURNING
- CTrigger.old
- Da governor limit
64What trigger method is used to correlate IDI-to-sObject maps? (No Answer)
- ATrigger.newMap, Trigger.oldMap
- BInternal and external
- CTrigger.new
- DQueues, time triggers
65Which form of dml operation allows execution to occur with subsequent records even if an error
occurs with a single record? (No Answer)- ADatabase class method
- BPublic class MyNewClass
- CStandalone, database class methods
- DApex classes
66Which 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)- AStatic and final
- BA governor limit
- CTraditional for loops
- DSOQL for loops
67What language is Apex similar to? (No Answer)
- ACatch
- B1
- CTRUE
- DJava
68What does Apex provide to support programmatic control of the workflow? (No Answer)
- AMap, List, Set
- BApex classes
- CThrough class itself
- DApex process classes
69What are all the datatypes that Salesforce supports? (No Answer)
- APrimitive, sObject, Collections, Null
- BSOAP Web Service Callouts
- CList of List Objects
- DGET, POST, PUT, DELETE
70How should one prevent soql injection when using dynamic soql? (No Answer)
- AXMLStreanWriter, XMLStreamReader
- BMessaging.InboundEmailHandler
- Cwith sharing keyword
- DUtilize the String.escapeSingleQuotes(string) method
71How does the Email service process inbound emails? (No Answer)
- AApex classes
- BExceptions
- CFALSE
- Dcatch
72What two ways are available to customize and create applications in salesforce? (No Answer)
- Adeclaratively, programmatically
- BEncapsulation principles
- Cstatic and final
- Dplural name plus__r
73What annotation can be used with Web Services to allow unrestricted queries when no DML
operations are necessary? (No Answer)- A@ReadOnly
- BFor loops
- CRETURNING
- DTRUE
74What email addresses can emails be sent to out of Salesforce? (No Answer)
- ASchema Explorer
- BPlural name plus__r
- CStatic and final
- DInternal and external
75What is a class? (No Answer)
- AApex, Visualforce, and APIs
- BDatabase class method
- CA template from which objects are created
- DAjax toolkit, client program
76Which 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.- AIn, like, and, or, not, group by, order by, all rows, limit
- BSchema describe is a way to program magically learn about the metadata of your data model
within Apex. - CWeb service methods must be static, webservice methods cannot be overloaded
- DCreate complex functionality declarative features cannot provide.
77What can the Force.com IDE be used to create? (No Answer)
- AApex code, Visualforce pages, and controllers
- BStandalone, database class methods
- CRecord level access
- DApex, Visualforce, and APIs
78What are the types of exception classes developers can choose between in Apex? (No Answer)
- ASystem-defined, user-defined
- BSchema Explorer
- CWebservice
- Dstatic and final
79Which trigger context variable cannot be deleted? (No Answer)
- ARETURNING
- Bon-demand
- CExceptions
- DTrigger.new
80What is the this keyword used to represent? (No Answer)
- AA template from which objects are created
- BFALSE, they must be static
- CMethods and attributes of the current instance of a class
- DEncapsulation principles
81What code is the webservice keyword not allowed to be used? (No Answer)
- AImplicit invocation
- Bcode contained in a trigger
- CClass, trigger
- DQueues, time triggers
82What is the total number of messages that all email services put together can process in a day?
(No Answer)- AFailure response settings
- BNumber of user licenses multiplied by 1000
- CThrough class itself
- DList of List Objects
83Which keywords should u specify to define a constant?
static and exception
static and final
static and private
exception and final(No Answer)- ASetup menu
- BMulti-tenant
- Cstatic and final
- DSOQL statements
84Which 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)- APublic class MyNewClass
- BDatabase class method
- CSOQL statements
- DStatic and final
85What are the stages of an application development process? (No Answer)
- ADeclaratively, programmatically
- BPrimitive, sObject, Collections, Null
- CDevelop, integrate, stage, production/training
- DManual sharing, apex sharing
86What types of sharing are available to developers to share records? (No Answer)
- AMessaging, sendEmail
- BManual sharing, apex sharing
- CBatch apex, apex scheduler
- DWith sharing keyword
87What does Apex use to record disruptions in code execution? (No Answer)
- AExceptions
- BIds
- CPrimitive
- DaddError
88Identify 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)- AEncapsulation principles
- BSalesforce ui, force.com ide, runTests web service
- CApex runs in a multitenant environment.
- DA template from which objects are created
89Which of the following are collection data types?
String
Map
List
Date
Set
Number
Salesforce DEV-501 Exam- AFor loops
- BFALSE
- CPrimitive
- DMap, List, Set
90Which 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- AHTTP class, HTTPRequesL class, HTTPRsponse class
- BApex classes
- CLogs, anonymous blocks
- DApex code, Visualforce pages, and controllers
91What statements are used to retrieve records from an sObject in the Force.com database? (No
Answer)- ASOQL statements
- BsObject
- CSOQL for loops
- Dmulti-tenant
92What are all the datatypes that Salesforce supports?
- AHow many loopback connections to Salesforce are allowed by callouts?
- BWhat two ways can classes be created in salesforce?
- CWhat are some RESTful service callout HTTP verbs?
93Which 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.- AStatic methods can only be declared in a top-level class definition.
- BUtilize the String.escapeSingleQuotes(string) method
- CHTTP class, HTTPRequesL class, HTTPRsponse class
- DDatabase class method
94What are the five types of Apex procedural loops? (No Answer)
- ADo-while loop, traditional for loop, list or set iteration loops, and soql for loops
- BDevelop, integrate, stage, production/training
- CCreate complex functionality declarative features cannot provide.
- DIn, like, and, or, not, group by, order by, all rows, limit
95Which 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- AFor loops
- BFALSE
- CExceptions
- DSOQL for loops
96Which of the following statements identifies the block of code that can handle a particular
exception?
catch
finally
try
throw- A3 MB
- BIds
- CFALSE
- Dcatch
97The method used to create an object out of a class definition is called a:
- Aconstructor
- BFor loops
- CWebservice
- DTRUE
98How do you call Web Services from external sources? (No Answer)
- ASOAP Web Service Callouts
- BWebservice
- CSOQL for loops
- DSOQL statements
99What does each email service have for which users can send messages? (No Answer)
- ACode contained in a trigger
- BSalesforce-generated email address
- CSchema Explorer
- DApex process classes
100What two ways can classes be created in salesforce? (No Answer)
- AisSuccess, sendEmailError
- BApex, Visualforce, and APIs
- CThrough UI, Force.com IDE project
- DBounced, discarded, queued
101What determines how the email service responds when an attempt to access the email service
fails? (No Answer)- AFailure response settings
- BRETURNING
- CQueues, time triggers
- DApex classes
102What are access modifiers used to implement? (No Answer)
- ATraditional for loops
- BEncapsulation principles
- CClass, trigger
- DStatic and final
103What is the maximum size of a SOAP request or response? (No Answer)
- A3 MB
- BIds
- C10
- DJava
104What are the two types of logs? (No Answer)
- ASystem, debug
- BTRUE
- COn-demand
- D3 MB
105Which 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>;- AMap<Integer, String> numbers = new Map<Integer, String>;
- BCode contained in a trigger
- CFailure response settings
- DManual sharing, apex sharing
106Which trigger context variable allows you to modify field values before they are written to the
database in the before trigger? (No Answer)- ATrigger.new
- BTrigger.old
- C@ReadOnly
- DTRUE
107What are the four ways to deploy Apex code? (No Answer)
- AForce.com IDE for developers, force.com migration tool, changesets, third-party tools
- BA template from which objects are created
- CThrough UI, Force.com IDE project
- DDeveloper edition production org, Enterprise edition sandbox org
108What datatype is used for standard or custom objects that store record data? (No Answer)
- ASystem
- BsObject
- CGlobal
109Which 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.- ASalesforce-generated email address
- BManual sharing, apex sharing
- CStatic methods can only be declared in a top-level class definition.
- DMake calls to methods using both valid and invalid inputs.
110Under what profile do Webservice methods execute by default?
- ANo
- BFALSE
- CTRUE
- DSystem
111What are the three ways to run unit tests?
- ASalesforce ui, force.com ide, runTests web service
- BDates, Ids, Numbers
- CFALSE, they must be static
- DSystem-defined, user-defined
112What is the default return type of a sosl statement?
- AApex process classes
- BApex classes
- CList of List Objects
- DSOQL for loops
113Which trigger context variable allows you to modify field values before they are written to the
database in the before trigger?- A@ReadOnly
- BRETURNING
- CWebservice
- DTrigger.new
114How are static methods and attributes access?
- AMap, List, Set
- BClass, trigger
- CApex classes
- DThrough class itself
115Which keywords do developers use to handle exceptions in Apex?
- AThrough class itself
- BThrow, try, catch, finally
- CStatic and final
- DGET, POST, PUT, DELETE
116Which 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- ARETURNING
- BImplicit invocation
- CPrimitive
- DSOQL for loops
117What two methods of customization are available to create applications in salesforce?
- AImplicit invocation
- BSOQL for loops
- CRecord level access
- Ddeclarative, programmatic
118How should one prevent soql injection when using dynamic soql?
- ADatabase class method
- Bcode contained in a trigger
- CUtilize the String.escapeSingleQuotes(string) method
- Dwith sharing keyword
119What components of apex are available to improve the processing of data in Salesforce?
- ADatabase class method
- BGET, POST, PUT, DELETE
- CBatch apex, apex scheduler.
- DInternal and external
120Which trigger context variable cannot be deleted?
- AaddError
- BSystem
- C@ReadOnly
- DTrigger.new
121What are two key tools to debug code in Salesforce?
- ADates, Ids, Numbers
- BLogs, anonymous blocks
- CDebug logs, email logs
- DList of List Objects
122Which trigger context variable is not saved in the after trigger and causes an exception to be
thrown?- ATrigger.new
- BaddError
- CPrimitive
- DTRUE
123What statements are used to retrieve records from an sObject in the Force.com database?
- AExceptions
- BOn-demand
- CMap, List, Set
- DSOQL statements
124What is the size of the batches in which triggers execute?
- ANo
- B200
- CFALSE
- DJava
125What interface does the Apex email handler implement to setup and inbound email service?
- AMessaging.sendEmail
- BMessaging.InboundEmailHandler
- CEncapsulation principles
- DisSuccess, sendEmailError
126Can apex code be created directly in the production environment?
- AIds
- B1
- C10
- DNo
127What are two ways to invoke a custom web service?
- AApex process classes
- BA governor limit
- CList of List Objects
- DAjax toolkit, client program
128What components must be deployed manually to the production environment?
- AQueues, time triggers
- BMulti-tenant
- CConstructor
- DDates, Ids, Numbers
129In what code is the webservice keyword not allowed to be used?
- AClass, trigger
- BImplicit invocation
- CCode contained in a trigger
- DQueues, time triggers
130What types of sharing are available to developers to share records?
- AFailure response settings
- BManual sharing, apex sharing
- CDates, Ids, Numbers
- DApex, Visualforce, and APIs
131List the HTTP classes available in Salesforce?
- AGET, POST, PUT, DELETE
- BFailure response settings
- CQueues, time triggers
- DHTTPRequest, HTTPResponse, HTTP
132Which 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- ASalesforce-generated email address
- BApex code, Visualforce pages, and controllers
- CDeveloper edition production org, Enterprise edition sandbox org
- DEncapsulation principles
133What is the list of steps to match regular expressions using the Pattern and Matcher classes?
- AA template from which objects are created
- B1.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. - CHTTPRequest, HTTPResponse, HTTP
- DPrimitive, sObject, Collections, Null
134What is the this keyword used to represent?
- ASalesforce ui, force.com ide, runTests web service
- BMethods and attributes of the current instance of a class
- CA template from which objects are created
- DHTTPRequest, HTTPResponse, HTTP
135Which 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.- AFALSE, they must be static
- BDeveloper edition production org, Enterprise edition sandbox org
- CStatic methods can only be declared in a top-level class definition.
- Dwebservice methods must be static, webservice methods cannot be overloaded
136What does Apex use to record disruptions in code execution?
- A@ReadOnly
- BCatch
- CWebservice
- DExceptions
137What keyword is used to create custom Web Services from an apex method?
- AFALSE
- BTRUE
- CTrigger.new
- DWebservice
138What two forms of dml operations can be used in apex?
- ASOQL statements
- BTraditional for loops
- CStandalone, database class methods
- DFailure response settings
139Each setSavepoint() and rollback statement counts against the total number of DML statements.
- A6
- B200
- CIds
- DTRUE
140What term indicates that Salesforce is a platform which allows clients to share hardware, storage
and other infrastructure?- ASystem
- BOn-demand
- CTRUE
- DMulti-tenant
141What two methods of customization are available to create applications in salesforce?
- ADeclarative, programmatic
- BDates, Ids, Numbers
- CDatabase class method
- DA governor limit
142Which fields are returned by sosl by default?
- AIds
- B200
- C6
- D1
143What name identifies datatypes such as Integer, Boolean, String and Enum in Salesforce?
- APrimitive
- B@ReadOnly
- CTrigger.new
- DFALSE
144What trigger method is used to help prevent completion of a DML event?
- AaddError
- BIds
- CNo
- DTRUE
145How are programmatic cusomizations done in Salesforce?
- AApex, Visualforce, and APIs
- BApex classes
- CApex process classes
- DDates, Ids, Numbers
146Which access modifier should u specify for a class containing the webService keword?
Public
Private
Protected
Global- AFALSE
- B3 MB
- CGlobal
- D6
147How are Apex triggers stored?
- AAs static resources.
- BAs metadata in the application, under the object with which they are associated.
- CAs .trigger files in the /code directory of your organization's public files.
- DAs compiled bytecode in the Salesforce platform Apex app server.
- EAs resource files in the Developer Console.
- FNone of these
148If the error message contains HTML markup, the escaped markup displays as text and isn't
rendered in the user interface. (Select all that apply)- AStrongly Typed.
- BObject Oriented.
- CUses Java-like syntax.
- DActs like database stored procedures.
149Apex code can be initiated in what ways? (Select all that apply)
- AWeb service requests.
- BTriggers on objects.
- CMore?? Is "Button Clicks" a valid choice?
150Apex is available in which Salesforce Editions? (Select all that apply)
- AProfessional Edition
- BUnlimited Edition
- CEnterprise Edition
- DDeveloper Edition
- EDatabase.com
- FNone of these`|`A. Professional Edition
151The 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.- ASystem.runAs()
152The system method, System.runAs(), lets you write test methods that change user contexts to
either an existing user or a new user.- ATrue
- BFalse
153The 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.- ATrue
- BFalse
154A 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)- AMake calls to methods using both valid and invalid inputs.
- BIn the case of conditional logic (including ternary operators), execute each branch of code logic.
- COnly test code using the System Administrator profile.
- DFocus solely on test coverage percentage score.
- EComplete successfully without throwing any exceptions, unless those errors are expected and
caught in a try...catch block. - FNone of these
155Good Apex tests should....
- AExercise bulk trigger functionality—use at least 20 records in your tests.
- BOnly test code using the Standard User profile.
- CAccess live organization data to validate SOQL queries and DML operations.
- DUse 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. - EUse the runAs method to test your application in different user contexts.
- FNone of these
156Although Trigger.new is a collection of records, when used as a bind variable in a SOQL query,
Apex automatically....- APasses the collection to the query, as long as the calling class implements the
Trigger.QueryBind class. - BTransforms the list of records into a list of corresponding Ids.
- CTruncates the collection so that only the Id and Name fields.
- DThrows a DMLException with the ILLEGAL_QUERY status.
- ETransforms the SOQL to an in-place SOSL query and returns the FIND results.
- FNone of these
- APasses the collection to the query, as long as the calling class implements the
157A 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.- ATrue
- BFalse
158[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>.- A<apex:facet>
159By 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.- ATrue
- BFalse
160A Visualforce page consists of which primary elements? (Select all that apply)
- AAn Apex class
- BA Visualforce controller
- CA trigger.
- DS-Controls
- EVisualforce Markup
- FNone of the above
161Developers 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)- AAny Web-enabled code
- BVisualforce Tags
- CApex code
- DHTML
- EJavaScript
- FC# Remoting Modules
- GNone of the above
162The markup defines the user interface components that should be included on the page, and the
way they should appear.- ATrue
- BFalse
163What provides access to data that should be displayed in a Visualforce page, and can modify
Visualforce component behavior?- AValidation rules
- BApex controller
- CMVC controller class
- DVisualforce controller
- EForce.com IDE
- FNone of the above
164To 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.- ATrue
- BFalse
165For 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.- ATrue
- BFalse
166[blank_start]A Standard Controller[blank_end] enables you to create Visualforce pages that can display or act on a set of records.
- AA Standard Controller
167A [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.- ACustom Controller
168Like 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.- ASystem Mode
169If you use a standard controller on a page and the user doesn't have access to the object, the
page will...- AThrow an ACCESS_VIOLATION exception.
- BWrite an ACCESS_VIOLATION message to the debug log.
- CDisplay an insufficient privileges error message.
- DRedirect the user to their home page.
- EAsk the user if they would like to upgrade permissions in order to view the object.
- FNone of the above
170By 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.- Awith sharing
171A/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.- AExtended Controller
172Developers can use Visualforce pages to: (Select all that apply)
- AOverride standard buttons
- BOverride tab overview pages
- CDefine custom tabs
- DEmbed components in detail page layouts
- ECreate dashboard components or custom help pages
- FCreate custom Console components.
- GNone of these
173Under what circumstances is it appropriate for a developer to add functionality to their application
via the SOAP API? (Select all that apply)- AWhen consumers of the desired functionality have no experience with Force.com development.
- BWhen the desired functionality processes only one type of record at a time.
- CWhen the organization chooses not to share its Enterprise WSDL.
- DWhen the desired functionality does not require any transactional control.
- ENone of these
174To 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.- Abackwards-compatibility
175One of the best ways to build Visualforce pages and code is by enabling [blank_start]Visualforce development mode[blank_end].
- AVisualforce development mode
176The[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).- AView State
177This Apex class lets a developer create an action method that can be used in a Visualforce
custom controller or controller extension.- AApex.Action Class
- BApexPages.Action Class
- CAction Class
- DVisualforce.Action Class
- EComponent.Action Class
- FNone of the above
178This Apex class lets a developer access cookies for a Force.com site using Apex.
- ACookie Class
- BPageReference.Cookie Class
- CApexPages.Cookie Class
- DComponent.Cookie Class
- EVisualforce.Cookie Class
- FNone of the above
179This Apex class offers Ideas-specific functionality in addition to what is provided by the
StandardController class.- AStandardControllerIdeas Class
- BIdeaCustomController Class
- CIdeaStandard Class
- DIdeaStandardController Class
- EStandardIdeasController Class
- FNone of the above
180This Apex class offers article-specific functionality in addition to what is provided by the
StandardController Class.- AArticleExtensionStandard Class
- BStandardKnowledgeContainer Class
- CStandardKnowledgeController Class
- DKnowledgeVersionStandardController Class
- EKnowledgeArticleVersionStandardController Class
- FNone of the above
181This Apex class allows developers to collect and display errors when building custom controllers
or extensions.- AException Class
- BMessage Class
- CDebug Class
- DValidation Class
- EMessaging Class
- FNone of the above
182This Apex class allows developers to reference an instantiation of a page.
- AExistingPage Class
- BVisualforcePage Class
- CPageReference Class
- DURLReference Class
- EPageURLReference Class
- FNone of the above
183Objects of this Apex class specify one of the possible values for a Visualforce selectCheckboxes,
selectList, or selectRadio component.- ASelect Class
- BSelectOption Class
- COptionSelection Class
- DInputSelection Class
- EInputOption Class
- FNone of the above
184Objects of this Apex class reference the pre-built Visualforce controllers provided by
salesforce.com.- AVisualforceSetController Class
- BVisualforceController Class
- CController Class
- DStandardSetController Class
- EStandardController Class
- FNone of the above
185Objects 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.- AStandardSetController Class
- BStandardController Class
- CController Class
- DVisualforceSetController Class
- EVisualforceControllerClass
- FNone of the above
186This 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.- ASystem WSDL
- BPartner WSDL
- CCustom WSDL
- DEnterprise WSDL
- EPortal WSDL
- FNone of the above
187This integration resource provides generic access to any organization, and exposes standard
objects and fields through the SOAP interface.- ASystem WSDL
- BPartner WSDL
- CCustom WSDL
- DEnterprise WSDL
- EPortal WSDL
- FNone of the above
188Total 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- ATrue
- BFalse
189Which exception type should be checked for when catching exceptions thrown when governor
limits are exceeded?- AStackOverflowException
- BLimitException
- CGovernorException
- DPlatformLimitException
- EInvalidLimitException
- FNone of these
190This 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:>- Aapex:dynamicComponent
- Bapex:dataList
- Capex:actionSupport
- Dapex:insert
191A 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.- Aapex:pageblockSection
- Bapex:inputHidden
- Capex:lineSeries
- Dapex:inputSecret
192A 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.- Aapex:outputText
- Bapex:barSeries
- Capex:insert
- Dapex:inputFile
193Defines 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>).- Aapex:actionSupport
- Bapex:componentBody
- Capex:actionFunction
- Dapex:chartTips
194A 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.- Aapex:message
- Bapex:flash
- Capex:detail
- Dapex:listViews
195A 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.- Aapex:messages
- Bapex:actionFunction
- Capex:insert
- Dapex:outputField
196An 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.- Aapex:dataList
- Bapex:inputCheckbox
- Capex:actionPoller
- Dapex:componentBody
197The 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>.- Aapex:actionStatus
- Bapex:listViews
- Capex:inputText
- Dapex:pageBlockButtons
198A 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.- Aapex:actionRegion
- Bapex:actionSupport
- Capex:outputField
- Dapex:pageBlock
199A component that creates an input field to upload a file.
Note: The maximum file size that can be uploaded via Visualforce is 10 MB.- Aapex:barSeries
- Bapex:inputFile
- Capex:composition
- Dapex:legend
200This 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.- Aapex:facet
- Bapex:chart
- Capex:include
- Dapex:componentBody
Informationen
- Beschreibung
- DEV-501-I
- Autor
- jbarcoga
- Sprache
- Español
- Aufrufe
- 422
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz