DEV 2

¡Supera tus tareas y exámenes ahora con Quizwiz!

Which type of for loops are defined with the following syntax? FOR(initstmt; exit_condition; increment stmt){ codeblock A. Static and final B. A governor limit C. Traditional for loops D. SOQL for loops

Answer : C

The system method, ___________, lets you write test methods that change user contexts to either an existing user or a new user. A. System.testAs() B. System.testAsUser C. System.runAsUser() D. System.impersonateUser() E. System.runAs() F. None of these

Answer : E

A developer is creating unit tests for code that makes SOAP web service callouts. The developer needs to insert some test data as a part of the unit tests setup. How should the developer enable this functionality? Choose 3 answers. A. Surround the callout with Test.startTest(), Test.stopTest() B. Surround the data insertion with Test.startTest(), Test.stopTest() C. Implement the WebServiceMock interface D. Update code to call Test.setMock() E. Implement the HttpCalloutMock interface

A,C,D

A definition of an attribute on a custom component. The attribute tag can only be a child of a component tag. Note that you cannot define attributes with names like id or rendered. These attributes are automatically created for all custom component definitions. A. apex:attribute B. apex:insert C. apex:message D. apex:include

Answer : A

A message for a specific component, such as a warning or error. If an <apex:message> or <apex:messages> component is not included in a page, most warning and error messages are only shown in the debug log. A. apex:message B. apex:flash C. apex:detail D. apex:listViews

Answer : A

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. A. True B. False

Answer : A

How do you call Web Services from external sources? A. SOAP Web Service Callouts B. Webservice C. SOQL for loops D. SOQL statements

Answer : A

How does the Email service process inbound emails? A. Apex classes B. Exceptions C. FALSE D. catch

Answer : A

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. A. StandardSetController Class B. StandardController Class C. Controller Class D. VisualforceSetController Class E. VisualforceControllerClass F. None of the above

Answer : A

One of the best ways to build Visualforce pages and code is by enabling ___________. A. Visualforce development mode B. Apex development mode C. Force.com IDE access D. Show viewstate E. Visualforce system mode F. None of these

Answer : A

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? A. Summary B. Pivot C. Reporting Snapshot D. Tabular

Answer : A

This component provides inline editing support to <apex:outputField> and various container components. In order to support inline editing, this component must also be within an <apex:form> tag. A. apex:inlineEditSupport B. apex:chartLabel C. apex:page D. apex:outputPanel

Answer : A

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

Answer : A

What are the four ways to deploy Apex code? A. Force.com IDE for developers, force.com migration tool, changesets, third-party tools B. A template from which objects are created C. Through UI, Force.com IDE project D. Developer edition production org, Enterprise edition sandbox org

Answer : A

What are the two types of logs? A. System, debug B. TRUE C. On-demand D. 3 MB

Answer : A

What can be viewed using the process visualizer? A. Approval processes B. Support processes C. Workflow rules D. Sales processes

Answer : A

What components must be deployed manually to the production environment? A. Queues, time triggers B. Multi-tenant C. Constructor D. Dates, Ids, Numbers

Answer : A

What determines how the email service responds when an attempt to access the email service fails? A. Failure response settings B. RETURNING C. Queues, time triggers D. Apex classes

Answer : A

What is NOT a component of a custom Force.com application? A. Data warehouse B. Custom object C. Custom tab D. Default landing tab

Answer : A

What is the maximum size of a SOAP request or response? A. 3 MB B. Ids C. 10 D. Java

Answer : A

When do users have the option to manually share records they own from the record detail page? A. When a developer adds the Sharing button to the page layout. B. When a developer grants the users the Share Records permission. C. When the organization wide default for the object is set to private or read-only. D. When the organization wide default for the object is set to public read/write.

Answer : A

Which of the following are collection data types Identify the classes that u can use to make HTTP or RESTful callouts. A. HTTP class, HTTPRequesL class, HTTPRsponse class B. Apex classes C. Logs, anonymous blocks D. Apex code, Visualforce pages, and controllers

Answer : A

Which of the following code will u use to instantiate a map called numbers that has integers as keys and strings as values? A. Map&lt;Integer, String> numbers = new Map&lt;Integer, String>; B. Code contained in a trigger C. Failure response settings D. Manual sharing, apex sharing

Answer : A

Which portion of the Model-View-Controller paradigm is represented in Force.com as a standard or custom object? A. Model B. Controller C. View

Answer : A

Which statement is true about an Apex class? A. Static methods can only be declared in a top-level class definition. B. Utilize the String.escapeSingleQuotes(string) method C. HTTP class, HTTPRequesL class, HTTPRsponse class D. Database class method

Answer : A

Which of the following guidelines are used for creating custom Web Services? (Select all that apply.) A. FALSE, they must be static B. Developer edition production org, Enterprise edition sandbox org C. Static methods can only be declared in a top-level class definition. D. webservice methods must be static, webservice methods cannot be overloaded

Answer : A,B,C,D

Which feature is available for custom objects? Choose 3 answers A. Queues B. Field history tracking C. Assignment rules D. Criteria-based sharing

Answer : A,B,D

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) A. Any Web-enabled code B. Visualforce Tags C. Apex code D. HTML E. JavaScript F. C# Remoting Modules G. None of the above

Answer : A,B,D,E

Which statement is TRUE about master-detail relationships in the Force.com platform? Choose 2 answers A. The master-detail relationship field is required on the page layout of the detail record. B. When defining a master-detail relationship, the custom object on which you are working is the master. C. The security settings for the master record control the detail record. D. When a master record is deleted, the child records remain in the system without a master record.

Answer : A,C

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 A. Time-based workflow queue B. Activity History related list C. Bug History related list D. Debug Log

Answer : A,D

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

Answer : B

A component that creates an input field to upload a file. A. apex:barSeries B. apex:inputFile C. apex:composition D. apex:legend

Answer : B

A component that inserts a second Visualforce page into the current page. The entire page subtree is injected into the Visualforce DOM at the point of reference and the scope of the included page is maintained. If content should be stripped from the included page, use the <apex:composition> component instead. A. apex:iframe B. apex:include C. apex:inputFile D. apex:inputField

Answer : B

A component that provides support for invoking controller action methods directly from JavaScript code using an AJAX request. A. apex:messages B. apex:actionFunction C. apex:insert D. apex:outputField

Answer : B

A single piece of data in an <apex:pageBlockSection> that takes up one column in one row. An <apex:pageBlockSectionItem> component can include up to two child components. If no content is specified, the column is rendered as an empty space. If one child component is specified, the content spans both cells of the column. If two child components are specified, the content of the first is rendered in the left, "label" cell of the column, while the content of the second is rendered in the right, "data" cell of the column. A. apex:flash B. apex:pageBlockSectionItem C. apex:outputField D. apex:componentBody

Answer : B

A/an _____________ is a class written in Apex that adds to or overrides behavior in a standard or custom controller. A. Custom component B. Controller extension C. Apex extension D. Extended Controller E. Component extension F. None of these

Answer : B

An <apex:column> component must always be a child of an <apex:dataTable> or <apex:pageBlockTable> component. A. apex:inputField B. apex:column C. apex:inputText D. apex:insert

Answer : B

An area of a Visualforce page that demarcates which components should be processed by the Force.com server when an AJAX request is generated. Only the components in the body of the <apex:actionRegion> are processed by the server, thereby increasing the performance of the page. A. apex:outputLabel B. apex:actionRegion C. apex:facet D. apex:emailPublisher

Answer : B

An ordered or unordered list of values that is defined by iterating over a set of data. The body of the <apex:dataList> component specifies how a single item should appear in the list. The data set can include up to 1,000 items. A. apex:inputText B. apex:dataList C. apex:lineSeries D. apex:inputCheckbox

Answer : B

Defines a chart legend. This component offers additional configuration options beyond the defaults used by the legend attribute of the <apex:chart> component. A. apex:dataTable B. apex:legend C. apex:pageBlockSectionItem D. apex:inputSecret

Answer : B

Objects of this Apex class specify one of the possible values for a Visualforce selectCheckboxes, selectList, or selectRadio component. A. Select Class B. SelectOption Class C. OptionSelection Class D. InputSelection Class E. InputOption Class F. None of the above

Answer : B

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. A. True B. False

Answer : B

This integration resource provides generic access to any organization, and exposes standard objects and fields through the SOAP interface. A. System WSDL B. Partner WSDL C. Custom WSDL D. Enterprise WSDL E. Portal WSDL F. None of the above

Answer : B

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. A. True B. False

Answer : B

What are two key tools to debug code in Salesforce? A. Dates, Ids, Numbers B. Logs, anonymous blocks C. Debug logs, email logs D. List of List Objects

Answer : B

What code is the webservice keyword not allowed to be used? A. Implicit invocation B. code contained in a trigger C. Class, trigger D. Queues, time triggers

Answer : B

What datatype is used for standard or custom objects that store record data? A. System B. sObject C. Global

Answer : B

What interface does the Apex email handler implement to setup and inbound email service? A. Messaging.sendEmail B. Messaging.InboundEmailHandler C. Encapsulation principles D. isSuccess, sendEmailError

Answer : B

What is the list of steps to match regular expressions using the Pattern and Matcher classes? A. A template from which objects are created B. 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. C. HTTPRequest, HTTPResponse, HTTP D. Primitive, sObject, Collections, Null

Answer : B

What is the size of the batches in which triggers execute? A. No B. 200 C. FALSE D. Java

Answer : B

What is the this keyword used to represent? A. Salesforce ui, force.com ide, runTests web service B. Methods and attributes of the current instance of a class C. A template from which objects are created D. HTTPRequest, HTTPResponse, HTTP

Answer : B

What is the total number of messages that all email services put together can process in a day? A. Failure response settings B. Number of user licenses multiplied by 1000 C. Through class itself D. List of List Objects

Answer : B

What types of sharing are available to developers to share records? A. Failure response settings B. Manual sharing, apex sharing C. Dates, Ids, Numbers D. Apex, Visualforce, and APIs

Answer : B

What types of sharing are available to developers to share records? A. Messaging, sendEmail B. Manual sharing, apex sharing C. Batch apex, apex scheduler D. With sharing keyword

Answer : B

Which invocation method occurs when triggers are called by the Force.com platform during the save process? A. RETURNING B. Implicit invocation C. Primitive D. SOQL for loops

Answer : B

Which of the following statements are true about components of dynamic Apex? A. In, like, and, or, not, group by, order by, all rows, limit B. Schema describe is a way to program magically learn about the metadata of your data model within Apex. C. Web service methods must be static, webservice methods cannot be overloaded D. Create complex functionality declarative features cannot provide.

Answer : B

Which action is available to a developer when two objects are connected by a lookup relationship? Choose 2 answers A. create a roll-up summary field on the parent object to count child records B. create a custom report type that allows customization of fields displayed from both parent and child objects C. create a cross-object formula field on the child object to reference fields on the parent object D. create a cross-object formula field on the parent object to reference fields on the child object

Answer : B,C

Under what circumstances is it appropriate for a developer to add functionality to their application via the SOAP API? (Select all that apply) A. When consumers of the desired functionality have no experience with Force.com development. B. When the desired functionality processes only one type of record at a time. C. When the organization chooses not to share its Enterprise WSDL. D. When the desired functionality does not require any transactional control. E. None of these

Answer : B,D

Which type of tab can a developer create? Choose 3 answers. A. Apex tabs B. web tabs C. standard object tabs D. Visualforce tabs E. custom object tabs

Answer : B,D,E

A Visualforce chart. Defines general characteristics of the chart, including size and data binding. A. apex:actionSupport B. apex:inlineEditSupport C. apex:chart D. apex:enhancedList

Answer : C

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? A. Enable Advanced Search on the object's related list B. Customize the search filter fields layout for that object C. Create a Visualforce page to replace the object detail view D. Configure the object's related list to add a filter

Answer : C

A label for an input or output field. Use this component to provide a label for a controller method that does not correspond to a field on a Salesforce object. A. apex:inlineEditSupport B. apex:insert C. apex:outputLabel D. apex:column

Answer : C

A link that executes an action defined by a controller, and then either refreshes the current page, or navigates to a different page based on the PageReference variable that is returned by the action. A. apex:dataList B. apex:enhancedList C. apex:commandLink D. apex:include

Answer : C

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. A. apex:actionRegion B. apex:actionSupport C. apex:outputField D. apex:pageBlock

Answer : C

An HTML input element of type password. Use this component to get user input for a controller method that does not correspond to a field on a Salesforce object, for a value that is masked as the user types. A. apex:composition B. apex:barSeries C. apex:inputSecret D. apex:attribute

Answer : C

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? A. Create a roll-up summary field on Object X that retrieves the value from Y. B. Create a text field on Object X and use a workflow rule to fill in the value upon the creation of X C. Create a cross-object formula field on Object X that retrieves the value from Y. D. Create a text field on Object X and use Apex to populate the value.

Answer : C

This Apex class allows developers to reference an instantiation of a page. A. ExistingPage Class B. VisualforcePage Class C. PageReference Class D. URLReference Class E. PageURLReference Class F. None of the above

Answer : C

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? A. Assign the Read-only profile to all users B. Set the organization wide default for positions to Read-only C. Remove the Delete permission for positions from all profiles D. Remove the Delete Access for positions from all user roles

Answer : C

What are the stages of an application development process? A. Declaratively, programmatically B. Primitive, sObject, Collections, Null C. Develop, integrate, stage, production/training D. Manual sharing, apex sharing

Answer : C

What components of apex are available to improve the processing of data in Salesforce? A. Database class method B. GET, POST, PUT, DELETE C. Batch apex, apex scheduler. D. Internal and external

Answer : C

What is a class? A. Apex, Visualforce, and APIs B. Database class method C. A template from which objects are created D. Ajax toolkit, client program

Answer : C

What two ways can classes be created in salesforce? A. isSuccess, sendEmailError B. Apex, Visualforce, and APIs C. Through UI, Force.com IDE project D. Bounced, discarded, queued

Answer : C

Which access modifier should u specify for a class containing the webService keword? A. FALSE B. 3 MB C. Global D. 6

Answer : C

Which field is available as part of the translation workbench for a validation rule? A. Formula B. Description C. Error Message D. Rule Criteria

Answer : C

Which keywords should u specify to define a constant? A. Setup menu B. Multi-tenant C. static and final D. SOQL statements

Answer : C

Which statement is true about an Apex class? A. Salesforce-generated email address B. Manual sharing, apex sharing C. Static methods can only be declared in a top-level class definition. D. Make calls to methods using both valid and invalid inputs.

Answer : C

What must a developer consider when inserting records using an API-based tool? Choose 2 answers A. Required fields on page layouts are enforced. B. Universally required field settings are respected. C. Apex triggers are ignored. D. Invalidation rules are respected.

Answer : C,D

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 A. Create New sidebar component B. Custom reporting C. Recent items D. Quick create E. Search

Answer : C,D,E

A component that adds AJAX support to another component, allowing the component to be refreshed asynchronously by the server when a particular event occurs, such as a button click or mouseover. A. apex:form B. apex:attribute C. apex:page D. apex:actionSupport

Answer : D

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:logCallPublisher B. apex:dataList C. apex:inputField D. apex:facet

Answer : D

A template component that provides content for an <apex:insert> component defined in a Visualforce template page. A. apex:facet B. apex:includeScript C. apex:axis D. apex:define

Answer : D

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? A. Use workflow to change the field-level security B. Use validation rules to expose the field C. Use multiple Visualforce pages D. Use workflow to change the record type

Answer : D

Can apex code be created directly in the production environment? A. Ids B. 1 C. 10 D. No

Answer : D

Defines an axis for a chart. Use this to set the units, scale, labeling, and other visual options for the axis. You can define up to four axes for a single chart, one for each edge. A. apex:emailPublisher B. apex:messages C. apex:image D. apex:axis

Answer : D

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? A. Use custom summary formulas B. Use matrix reports C. Use charts D. Use conditional highlighting

Answer : D

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. A. apex:facet B. apex:chart C. apex:include D. apex:componentBody

Answer : D

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? A. Use a custom Visualforce page to make the email address visible to user X but not user Y B. Use a sharing rule to make the email address only visible to user X C. use page layouts to make the email address visible to user X but not user Y D. Use field-level security to make the email address visible to user X but not user Y

Answer : D

What are two ways to invoke a custom web service? A. Apex process classes B. A governor limit C. List of List Objects D. Ajax toolkit, client program

Answer : D

What does Apex provide to support programmatic control of the workflow? A. Map, List, Set B. Apex classes C. Through class itself D. Apex process classes

Answer : D

What does Apex use to record disruptions in code execution? A. @ReadOnly B. Catch C. Webservice D. Exceptions

Answer : D

What keyword is used to create custom Web Services from an apex method? A. FALSE B. TRUE C. Trigger.new D. Webservice

Answer : D

What provides access to data that should be displayed in a Visualforce page, and can modify Visualforce component behavior? A. Validation rules B. Apex controller C. MVC controller class D. Visualforce controller E. Force.com IDE F. None of the above

Answer : D

Which of the following are collection data types? A. For loops B. FALSE C. Primitive D. Map, List, Set

Answer : D

Which standard profile has the "View Encrypted Data" permission by default? A. System Administrator Profile B. Solution Manager Profile C. Standard User Profile D. No profile has the permission active by default

Answer : D

Which trigger context variable allows you to modify field values before they are written to the database in the before trigger? A. @ReadOnly B. RETURNING C. Webservice D. Trigger.new

Answer : D

Objects of this Apex class reference the pre-built Visualforce controllers provided by salesforce.com. A. VisualforceSetController Class B. VisualforceController Class C. Controller Class D. StandardSetController Class E. StandardController Class F. None of the above

Answer : E

What are some RESTful service callout HTTP verbs? A. GET, POST, PUT, DELETE B. System, debug C. List of List Objects D. Setup menu

Answer : A

Apex code can be initiated in what ways? (Select all that apply) A. Web service requests. B. Triggers on objects. C. More?? Is "Button Clicks" a valid choice?

Answer : A,B,C

A data series to be rendered as bars 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 bar, as well as the X and Y axes to scale against. A. apex:barSeries B. apex:inputHidden C. apex:outputLink D. apex:outputField

Answer : A

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? A. Imposition page layouts B. Position search layouts C. Position record types D. Position field dependencies

Answer : A

A graphic image, rendered with the HTML <img> tag. A. apex:image B. apex:composition C. apex:actionStatus D. apex:componentBody

Answer : A

A link to a JavaScript library that can be used in the Visualforce page. When specified, this component injects a script reference into the head element of the generated HTML page. For performance reasons, you may simply want to use a JavaScript tag before your closing <apex:page> tag, rather than this component. A. apex:includeScript B. apex:outputField C. apex:attribute D. apex:component

Answer : A

A section of a Visualforce page that allows users to enter input and then submit it with an <apex:commandButton> or <apex:commandLink>. The body of the form determines the data that is displayed and the way it is processed. It's a best practice to verify that pages and custom components use at most one <apex:form> tag. As of API version 18.0, this tag can't be a child component of <apex:repeat>. A. apex:form B. apex:chart C. apex:actionRegion D. apex:insert

Answer : A

A set of content that is grouped together, rendered with an HTML <span> tag, <div> tag, or neither. Use an <apex:outputPanel> to group components together for AJAX refreshes. A. apex:outputPanel B. apex:includeScript C. apex:chartTips D. apex:lineSeries

Answer : A

All messages that were generated for all components on the current page. If an <apex:message> or <apex:messages> component is not included in a page, most warning and error messages are only shown in the debug log. A. apex:messages B. apex:actionPoller C. apex:composition D. apex:actionRegion

Answer : A

An HTML input element of type hidden, that is, an input element that is invisible to the user. Use this component to pass variables from page to page. A. apex:inputHidden B. apex:actionPoller C. apex:pageBlockSectionItem D. apex:enhancedList

Answer : A

For objects where data access is granted through the role hierarchy, how is access granted? A. Users are granted access to data accessible by users below them in the role hierarchy. B. Users are only granted access to data owned by users below them In the role hierarchy. C. Users are only granted read access to data owned by users above them in the role hierarchy. D. Users are granted access to data accessible to users in the same role in the role hierarchy.

Answer : A

How are programmatic cusomizations done in Salesforce? A. Apex, Visualforce, and APIs B. Apex classes C. Apex process classes D. Dates, Ids, Numbers

Answer : A

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? A. The Review record is also deleted B. The owner of the Review record changes C. No change to the Review record D. An error message is displayed

Answer : A

The markup defines the user interface components that should be included on the page, and the way they should appear. A. True B. False

Answer : A

The method used to create an object out of a class definition is called a: A. constructor B. For loops C. Webservice D. TRUE

Answer : A

The system method, System.runAs(), lets you write test methods that change user contexts to either an existing user or a new user. A. True B. False

Answer : A

This Apex class lets a developer access cookies for a Force.com site using Apex. A. Cookie Class B. PageReference.Cookie Class C. ApexPages.Cookie Class D. Component.Cookie Class E. Visualforce.Cookie Class F. None of the above

Answer : A

What are all the datatypes that Salesforce supports? A. How many loopback connections to Salesforce are allowed by callouts? B. What two ways can classes be created in salesforce? C. What are some RESTful service callout HTTP verbs?

Answer : A

What are the types of exception classes developers can choose between in Apex? A. System-defined, user-defined B. Schema Explorer C. Webservice D. static and final

Answer : A

What can the Force.com IDE be used to create? A. Apex code, Visualforce pages, and controllers B. Standalone, database class methods C. Record level access D. Apex, Visualforce, and APIs

Answer : A

What trigger method is used to correlate IDI-to-sObject maps? A. Trigger.newMap, Trigger.oldMap B. Internal and external C. Trigger.new D. Queues, time triggers

Answer : A

What trigger method is used to help prevent completion of a DML event? A. addError B. Ids C. No D. TRUE

Answer : A

What two methods of customization are available to create applications in salesforce? A. Declarative, programmatic B. Dates, Ids, Numbers C. Database class method D. A governor limit

Answer : A

What two methods of customization are available to create applications in salesforce? A. Implicit invocation B. SOQL for loops C. Record level access D. declarative, programmatic

Answer : A

Which fields are returned by sosl by default? A. Ids B. 200 C. 6 D. 1

Answer : A

Which form of dml operation allows execution to occur with subsequent records even if an error occurs with a single record? A. Database class method B. Public class MyNewClass C. Standalone, database class methods D. Apex classes

Answer : A

Which of the following statements are used to repeatedly execute a block of code until the exit condition is met? A. For loops B. FALSE C. Exceptions D. SOQL for loops

Answer : A

Which trigger context variable allows you to modify field values before they are written to the database in the before trigger? A. Trigger.new B. Trigger.old C. @ReadOnly D. TRUE

Answer : A

__________ enables you to create Visualforce pages that can display or act on a set of records. A. A Standard Controller B. A Standard List Controller C. An Apex Recordset D. A Custom List Doctype E. An Apex class F. None of the above

Answer : A

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 A. Review records will inherit ownership from the associated job application. B. Deleting a job application record will delete associated review records. C. The master-detail relationship between Job Applications and Reviews is defined on the Job Application object. D. Review records may exist without an associated job application.

Answer : A,B

Which developer tool can be used to create a data model? Choose 2 answers A. Force.com IDE B. Schema Builder C. Application Data Model Wizard D. Force.com Data Loader

Answer : A,B

Which statement is TRUE about field-level security? Choose 2 answers A. It is specified for each profile. B. It can be controlled at the record level. C. It Is enforced in the SOAP API. D. It determines the values displayed in a visible picklist field.

Answer : A,B

Developers can use Visualforce pages to: (Select all that apply) A. Override standard buttons B. Override tab overview pages C. Define custom tabs D. Embed components in detail page layouts E. Create dashboard components or custom help pages F. Create custom Console components. G. None of these

Answer : A,B,C,D,E,F

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) A. Make calls to methods using both valid and invalid inputs. B. In the case of conditional logic (including ternary operators), execute each branch of code logic. C. Only test code using the System Administrator profile. D. Focus solely on test coverage percentage score. E. Complete successfully without throwing any exceptions, unless those errors are expected and caught in a try...catch block. F. None of these

Answer : A,B,E

A Visualforce page consists of which primary elements? (Select all that apply) A. An Apex class B. A Visualforce controller C. A trigger. D. S-Controls E. Visualforce Markup F. None of the above

Answer : A,E

Which property of a field can be edited within the page layout editor? Choose 2 answers A. Read-only B. Controller C. Always Displayed D. Field Dependency E. Required

Answer : A,E

A Flash movie, rendered with the HTML object and embed tags. A. apex:actionStatus B. apex:flash C. apex:inputField D. apex:pageBlockSectionItem

Answer : B

A component that creates an inline frame within a Visualforce page. A frame allows you to keep some information visible while other information is scrolled or replaced. A. apex:include B. apex:iframe C. apex:chartLabel D. apex:attribute

Answer : B

A link to a URL. This component is rendered in HTML as an anchor tag with an href attribute. Like its HTML equivalent, the body of an <apex:outputLink> is the text or image that displays as the link. To add query string parameters to a link, use nested <apex:param> components. A. apex:inputField B. apex:outputLink C. apex:lineSeries D. apex:emailPublisher

Answer : B

A single Visualforce page. All pages must be wrapped inside a single page component tag. A. apex:insert B. apex:page C. apex:axis D. apex:outputLabel

Answer : B

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

Answer : B

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

Answer : B

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. A. True B. False

Answer : B

How are Apex triggers stored? A. As static resources. B. As metadata in the application, under the object with which they are associated. C. As .trigger files in the /code directory of your organization's public files. D. As compiled bytecode in the Salesforce platform Apex app server. E. As resource files in the Developer Console. F. None of these

Answer : B

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. A. apex:actionStatus B. apex:listViews C. apex:inputText D. apex:pageBlockButtons

Answer : B

This Apex class allows developers to collect and display errors when building custom controllers or extensions. A. Exception Class B. Message Class C. Debug Class D. Validation Class E. Messaging Class F. None of the above

Answer : B

This Apex class lets a developer create an action method that can be used in a Visualforce custom controller or controller extension. A. Apex.Action Class B. ApexPages.Action Class C. Action Class D. Visualforce.Action Class E. Component.Action Class F. None of the above

Answer : B

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 A. True B. False

Answer : B

What can cross-object formulas reference? A. Both parent and child object records B. Parent object records only C. Child object records only D. Other records of the same object

Answer : B

What is a Junction object? A. A standard object with a master-detail relationship B. A custom object with two master-detail relationships C. A standard object with two master-detail relationships D. A custom object with a master-detail relationship

Answer : B

Which environments can developers write code? (Select all that apply.) A. Salesforce-generated email address B. Apex code, Visualforce pages, and controllers C. Developer edition production org, Enterprise edition sandbox org D. Encapsulation principles

Answer : C

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 A. Formula fields can aggregate data from child records. B. Formula fields can be created and deployed using only a browser. C. Formula fields do not require test methods to deploy. D. Formula fields allow greater control and flexibility than Apex triggers

Answer : B,C

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 A. Custom applications B. Custom relationships C. Custom fields D. Custom objects E. Custom tabs

Answer : B,C,D

Why might a reporting snapshot fail during a scheduled run? Choose 3 answers A. The target object is a custom object. B. The target object contains an Apex trigger. C. The running user has been made inactive. D. The source report has been resaved as a matrix report. E. The source report was not created by an Administrator.

Answer : B,C,D

How can a wireless device user approve a record? Choose 3 answers A. via a text message B. via Approvals in Chatter C. via voice recognition D. via email from a wireless device E. via Salesforce1

Answer : B,D,E

Apex is available in which Salesforce Editions? (Select all that apply) A. Professional Edition B. Unlimited Edition C. Enterprise Edition D. Developer Edition E. Database.com F. None of these`|`A. Professional Edition G. Unlimited Edition H. Enterprise Edition I. Developer Edition J. Database.com

Answer : B,D,F

A set of buttons that are styled like standard Salesforce buttons. This component must be a child component of an <apex:pageBlock>. A. apex:includeScript B. apex:commandButton C. apex:pageBlockButtons D. apex:form

Answer : C

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. A. apex:outputText B. apex:barSeries C. apex:insert D. apex:inputFile

Answer : C

An HTML input element of type text. Use this component to get user input for a controller method that does not correspond to a field on a Salesforce object. This component does not use Salesforce styling. Also, since it does not correspond to a field, or any other data on an object, custom code is required to use the value the user inputs. A. apex:messages B. apex:dynamicComponent C. apex:inputText D. apex:inputField

Answer : C

Defines how labels are displayed. Depending on what component wraps it, <apex:chartLabel> gives you options for affecting labels for bar and line series labels, pie chart segments, and axes labels. A. apex:chart B. apex:include C. apex:chartLabel D. apex:messages

Answer : C

How should one prevent soql injection when using dynamic soql? A. Database class method B. code contained in a trigger C. Utilize the String.escapeSingleQuotes(string) method D. with sharing keyword

Answer : C

Identify the differences between Apex and the other programming languages. (Select all that apply.) A. Encapsulation principles B. Salesforce ui, force.com ide, runTests web service C. Apex runs in a multitenant environment. D. A template from which objects are created

Answer : C

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? A. Create a workflow field update to set the property of the Actual Salary field to Required B. Create a field dependency between the Salary Amount and status of Accepted. C. Create a validation rule to make sure that the Actual Salary is not null whenever an offer is accepted. D. Create a validation rule to make Actual Salary required each time the offer record is saved.

Answer : C

Universal Containers tracks Positions as a custom object in a recruiting application. All positions with a priority of critical should NOT be open for more than two weeks. If a position remains open for more than 14 days, the priority should be re-examined. How would a developer automate this process? A. Create a workflow action to clone the position, assigned to the owner of the position record, that is due 14 days after record creation B. Create a validation rule that compares today's date and the record's creation date to determine if the difference is greater than 14 days C. Recreate a time-dependent workflow action that sends an email to the recruiter if the position is still open 14 days after record creation D. Create a time-dependent workflow action that updates the position status to Closed 14 days after record creation

Answer : C

What is the default return type of a sosl statement? A. Apex process classes B. Apex classes C. List of List Objects D. SOQL for loops

Answer : C

What is the this keyword used to represent? A. A template from which objects are created B. FALSE, they must be static C. Methods and attributes of the current instance of a class D. Encapsulation principles

Answer : C

What two forms of dml operations can be used in apex? A. SOQL statements B. Traditional for loops C. Standalone, database class methods D. Failure response settings

Answer : C

A developer needs to support multiple currencies for a custom object in an application. The multi-currency feature has been enabled for the organization. What does the developer need to know in order to successfully support this application? Choose 2 answers A. Administrators can add additional currencies after the application has been built. B. Roll-up summary fields on a parent record will calculate incorrectly if the child records have multiple currencies. C. The multi-currency feature will automatically track historical exchange rates. D. Currency ISO code will need to be supplied when inserting records in different currencies.

Answer : C,D

A component that displays the status of an AJAX update request. An AJAX request can either be in progress or complete. A. apex:actionPoller B. apex:dynamicComponent C. apex:inputCheckbox D. apex:actionStatus

Answer : D

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? A. The import wizards cannot Import data from CSV files. B. The import wizards do not support custom objects. C. The import wizards do not import files to specify record owner. D. The import wizards do not support the User object.

Answer : D

By using the ____________ keyword in a class definition, a developer can create a custom controller or controller extension that respects OWD, role hierarchy, and sharing rules. A. with permissions B. with defaults C. with security D. with sharing E. with roles F. None of these

Answer : D

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. A. apex:actionSupport B. apex:componentBody C. apex:actionFunction D. apex:chartTips

Answer : D

Displays text on a Visualforce page. You can customize the appearance of <apex:outputText> using CSS styles, in which case the generated text is wrapped in an HTML <span> tag. You can also escape the rendered text if it contains sensitive HTML and XML characters. This component does take localization into account. Use with nested param tags to format the text values, where {n} corresponds to the n-th nested param tag. The value attribute supports the same syntax as the MessageFormat class in Java. A. apex:message B. apex:actionSupport C. apex:column D. apex:outputText

Answer : D

Each setSavepoint() and rollback statement counts against the total number of DML statements. A. 6 B. 200 C. Ids D. TRUE

Answer : D

In a master-detail relationship, what happens to the child records if the parent record is deleted? A. Parent record deletion fails. B. Child records are not deleted. C. A subset of the child records is deleted. D. Child records are deleted.

Answer : D

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? A. Create a lookup relationship between Position and Salary; set organization-wide defaults to Public Read-Only for Position and Private for Salary B. Create a master-detail relationship between Position and Salary; set organization-wide defaults to Private for Position and Salary C. Create a master-detail relationship between Position and Salary; set organization-wide defaults to Public Read only for Position and Private for Salary D. Create a lookup relationship between Position and Salary; set organization-wide defaults to Private for Position and Salary 0

Answer : D

The Log a Call publisher lets support agents who use Case Feed create logs for customer calls. This component can only be used in organizations that have Case Feed, Chatter, and feed tracking on cases enabled. A. apex:inputHidden B. apex:iframe C. apex:chartLabel D. apex:logCallPublisher

Answer : D

The __________ 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). A. Page Memory B. State Settings C. Cookie Collection D. View State E. Page Header F. None of these

Answer : D

This Apex class offers Ideas-specific functionality in addition to what is provided by the StandardController class. A. StandardControllerIdeas Class B. IdeaCustomController Class C. IdeaStandard Class D. IdeaStandardController Class E. StandardIdeasController Class F. None of the above

Answer : D

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. A. System WSDL B. Partner WSDL C. Custom WSDL D. Enterprise WSDL E. Portal WSDL F. None of the above

Answer : D

Under what profile do Webservice methods execute by default? A. No B. FALSE C. TRUE D. System

Answer : D

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. How would a developer meet this requirement? A. Change the interviewer's profile to Read-only for the review object B. Use workflow to change the page layout to Read-only C. Remove the Delete button from the job application page layout D. Use a validation rule in conjunction with a roll-up summary field

Answer : D

What email addresses can emails be sent to out of Salesforce? A. Schema Explorer B. Plural name plus__r C. Static and final D. Internal and external

Answer : D

What is the maximum size of a SOAP request or response regulated by? A. @ReadOnly B. RETURNING C. Trigger.old D. a governor limit

Answer : D

What language is Apex similar to? (No Answer) A. Catch B. 1 C. TRUE D. Java

Answer : D

What term indicates that Salesforce is a platform which allows clients to share hardware, storage and other infrastructure? A. System B. On-demand C. TRUE D. Multi-tenant

Answer : D

Which of the following statements identifies the block of code that can handle a particular exception? A. 3 MB B. Ids C. FALSE D. catch

Answer : D

Which type of custom field can be an external ID? A. Custom field of any type B. Phone Number, Email, URL and Text-based fields C. Text, Number, or Formula fields only D. Text, Email, or Number fields only

Answer : D

____________ 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. &lt;apex:labelSet> B. &lt;apex:customName> C. &lt;c:facet> D. &lt;apex:facet> E. &lt;c:labelSet> F. None of these

Answer : D

This Apex class offers article-specific functionality in addition to what is provided by the StandardController Class. A. ArticleExtensionStandard Class B. StandardKnowledgeContainer Class C. StandardKnowledgeController Class D. KnowledgeVersionStandardController Class E. KnowledgeArticleVersionStandardController Class F. None of the above

Answer : E

Which exception type should be checked for when catching exceptions thrown when governor limits are exceeded? A. StackOverflowException B. LimitException C. GovernorException D. PlatformLimitException E. InvalidLimitException F. None of these

Answer : F

An integration user makes a successful login() call via the SOAP API. What can be used in the SOAP header to provide server authorization for subsequent API requests? Choose 1 answer. A. Named Credentials B. Session ID C. OAuth access token D. Security token

The Answer is B.


Conjuntos de estudio relacionados

Ch 4: Hazard Recognition Risk Assessment and Control

View Set

History of Rock 'n' Roll (MUS 244)

View Set

Chapter 3: Communication and Customer Care

View Set

Integumentary System, integumentary, NURS 3107 - Exam 4 - EAQs: Integumentary Assessment, Ch. 24 NCLEX Practice, DavisEdge Quiz: Nursing Care of Patients with Skin Disorders

View Set

ATI PHARMACOLOGY upper respiratory disorders

View Set

Western Civ. Mr. E Final Exam Study

View Set