Salesforce Platform Developer I

D

Why would a developer use Test. startTest( ) and Test.stopTest( )?
A. To avoid Apex code coverage requirements for the code between these lines
B. To start and stop anonymous block execution when executing anonymous
Apex code
C. To indicate test code so t

B

What must the Controller for a Visualforce page utilize to override the Standard Opportunity view button?
A. The StandardSetController to support related lists for pagination.
B. the Opportunity StandardController for pre -built functionality.
C. A callba

A

A developer uses a before insert trigger on the Lead object to fetch the Territory__c object, where the Territory__c.PostalCode__c matches the Lead.PostalCode. The code fails when the developer uses the Apex Data Loader to insert 10,000 Lead records. The

A

What would a developer do to update a picklist field on related Opportunity records when a modification to the associated Account record is detected?
A. Create a process with Process Builder.
B. Create a workflow rule with a field update.
C. Create a Ligh

A, B

Which requirement needs to be implemented by using standard workflow instead of Process Builder?
Choose 2 answers
A. Create activities at multiple intervals.
B. Send an outbound message without Apex code.
C. Copy an account address to its contacts.
D. Sub

A, B

An org has different Apex Classes that provide Account -related functionality.
After a new validation rule is added to the object, many of the test methods fail.
What can be done to resolve the failures and reduce the number of code changes needed for fut

A, B

Which component is available to deploy using Metadata API?
Choose 2 answers
A. Case Layout
B. Account Layout
C. Case Feed Layout
D. ConsoleLayout

B

In the code below, what type does Boolean inherit from?
Boolean b= true;
A. Enum
B. Object
C. String
D. Class

D

What is the preferred way to reference web content such as images, style sheets, JavaScript, and other libraries that is used in Visualforce pages?
A. By accessing the content from Chatter Files.
B. By uploading the content in the Documents tab.
C. By acc

B

A company has a custom object named Warehouse. Each Warehouse record has a distinct record owner, and is related to a parent Account in Salesforce.
Which kind of relationship would a developer use to relate the Account to the Warehouse?
A. One -to -Many
B

D

A developer creates a Workflow Rule declaratively that updates a field on an object. An Apex update trigger exists for that object.
What happens when a user updates a record?
A. No changes are made to the data.
B. Both the Apex Trigger and Workflow Rule a

A, D

What is true for a partial sandbox that is not true for a full sandbox?
Choose 2 answers:
A. More frequent refreshes.
B. Only Includes necessary metadata.
C. Use of change sets.
D. Limited to 5 GB of data.

A

In which order does SalesForce execute events upon saving a record?
A. Before Triggers; Validation Rules; After Triggers; Assignment Rules; Workflow Rules; Commit
B. Validation Rules; Before Triggers; After Triggers; Workflow Rules; Assignment Rules; Comm

A, B

When loading data into an organization, what can a developer do to match records to update existing records?
Choose 2 answers
A. Match an external Id Text field to a column in the imported file.
B. Match the Id field to a column in the Imported file.
C. M

A

In an organization that has enabled multiple currencies, a developer needs to aggregate the sum of the Estimated_value__c currency field from the CampaignMember object using a roll-up summary field called Total_estimated_value__c on Campaign.
How is the c

C

A candidate may apply to multiple jobs at the company Universal Containers by submitting a single application per job posting, that application cannot be modified to be resubmitted to a different job posting.
What can the administrator do to associate an

A, C

What is a characteristic of the Lightning Component Framework?
Choose 2 answers:
A. It has an event-driven architecture.
B. It works with existing Visualforce pages.
C. It includes responsive components.
D. It uses XML as its data format.

A, B, E

What is a capability of cross-object formula fields?
Choose 3 answers
A. Formula fields can reference fields from master-detail or lookup parent relationships.
B. Formula fields can expose data the user does not have access to in a record.
C. Formula fiel

D

A developer has a block of code that omits any statements that indicate whether the code block should execute with or without sharing.
What will automatically obey the organization-wide defaults and sharing settings for the user who executes the code in t

D

A developer created an Apex trigger using the Developer Console and now wants to debug code
How can the developer accomplish this in the Developer Console?
A. Select the Override Log Triggers checkbox for the trigger
B. Add the user name in the Log Inspec

A

Which data structure is returned to a developer when performing a SOSL search?
A. A list of lists of sObjects.
B. A map of sObject types to a list of sObjects
C. A map of sObject types to a list oflists of sobjects
D. a list of sObjects.

C, D

How can a developer avoid exceeding governor limits when using an Apex Trigger?
choose 2 answers
A. By using a helper class that can be invoked from multiple triggers.
B. By using the Database class to handle DML transactions.
C. By using Maps to hold dat

C

What is a correct pattern to follow when programming in Apex on a Multi-tenant platform?
A. Apex code is created in a separate environment from schema to reduce deployment errors.
B. DML is performed on one record at a time to avoid possible data concurre

B, C

What should a developer working in a sandbox use to exercise a new test Class before the developer deploys that test production?
Choose 2 answers
A. The REST API and ApexTestRun method
B. The Apex Test Execution page in Salesforce Setup.
C. The Test menu

D

A company that uses a Custom object to track candidates would like to send candidate information automatically to a third -party human resource system when a candidate is hired.
What can a developer do to accomplish this task?
A. Create an escalation rule

A

A developer is creating an application to track engines and their parts. An individual part can be used in different types of engines.
What data model should be used to track the data and to prevent orphan records.
A. Create a junction object to relate ma

A, B

What is the accurate statement about with sharing keyword?
choose 2 answers
A) Inner class donot inherit the sharing setting from the container class
B) Both inner and outer class can be declared as with sharing
C) Either inner class or outer classes can

A, B

How can a developer refer to, or instantiate a PageReference in Apex?
Choose 2 answers
A. By using a PageReference with a partial or full URL.
B. By using the Page object and a Visualforce page name.
C. By using the ApexPages.Page() method with a Visualfo

C

Which standard field needs to be populated when a developer inserts new Contact records programmatically?
A. Accountld
B. Name
C. LastName
D. FirstName

C

A developer creates a new Visualforce page and Apex extension, and writes test classes that exercise 95% coverage of the new Apex extension.
Change set deployment to production fails with the test coverage warning: "Average test coverage across all Apex c

A

What is the minimum log level needed to see user generated debug statements?
A. DEBUG
B. FINE
C. INFO
D. WARN

A, C

Developer needs to automatically populate the ReportsTo field in a Contact record based on the values of the related Account and Department fields in the Contact record.
Which type of trigger would the developer create?
Choose 2 answers
A. before update
B

B

To which primitive data type in Apex is a currency field atomically assigned?
A. Integer
B. Decimal
C. Double
D. Currency

C, D

Which resource can be included in a Lightning Component bundle?
Choose 2 answers
A. Apex class
B. Adobe Flash
C. JavaScript
D. Documentation

A, B

A custom exception "RecordNotFoundException" is defined by the following code of block.
public class RecordNotFoundException extends Exception()
which statement can a developer use to throw a custom exception?
choose 2 answers
A. throw new RecordNotFoundE

D

When creating unit tests in Apex, which statement is accurate?
A. Unit tests with multiple methods result in all methods failing every time one method fails.
B. Increased test coverage requires large test classes with many lines of code in one method.
C.

B

public class customController {
public string cString { get; set;}
public string getStringMethod1(){
return cString;
}
public string getStringMethod2(){
if(cString == null)
cString = 'Method2';
return cString;
}
}
<apex:page controller="customController">

B

What is a valid Apex statement?
A. Map conMap = (SELECT Name FROM Contact);
B. Account[] acctList = new List<Account>{new Account()}
C. Integer w, x, y = 123, z = 'abc',
D private static constant Double rate = 775;

D

A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple sObjects. The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on the initial URL
Whi

A, B

A developer wants to display all of the available record types for a Case object. The developer also wants to display the picklist values for the Case.Status field. The Case object and the Case Status field are on a custom visualforce page.
Which action c

B

An sObject named Application_c has a lookup relationship to another sObject named Position_c. Both Application _c and Position_c have a picklist field named Status_c.
When the Status_c field on Position_c is updated, the Status_c field on Application_c ne

B

A developer wrote a workflow email alert on case creation so that an email is sent to the case owner manager when a case is created?
When will the email be sent?
A. Before Trigger execution
B. After Committing to database.
C. Before Committing to database

B, C

Which code represents the Controller in MVC architecture on the Force.com platform.
Choose 2 answers
A. JavaScript that is used to make a menu item display itself.
B. StandardController system methods that are referenced by Visualforce.
C. Custom Apex and

B, D

A developer needs to provide a Visualforce page that lets users enter Product specific details during a Sales cycle.
How can this be accomplished?
Choose 2 answers
provide Product data entry.
A. Download a Managed Package from the AppExchange that provide

A

A developer writes a before insert trigger.
How can the developer access the incoming records in the trigger body?
A. By accessing the Trigger.new context variable.
B. By accessing the Trigger.newRecords context variable.
C. By accessing the Trigger.newMa

B

A developer in a Salesforce org with 100 Accounts executes the following code using the Developer console:
Account myAccount = new Account(Name = 'MyAccount');
Insert myAccount;
For (Integer x = 0; x < 250; x++)
Account newAccount = new Account (Name='MyA

D

The Review_c object have a lookup relationship to the job_Application_c object. The job_Application_c object has a master detail relationship up to the position_c object. The relationship is based on the auto populated defaults?
What is the recommended wa

B, D

What is a capability of the Force.com IDE?
Choose 2 answers
A. Roll back deployments.
B. Run Apex tests.
C. Download debug logs.
D. Edit metadata components.

D

Which code segment can be used to control when the dowork() method is called?
A. for (Trigger.isRunning t: Trigger.new)
{
dowork();
}
B. if(Trigger.isRunning)
dowork();
C. for (Trigger.isInsert t: Trigger.new)
{
dowork();
}
D. if(Trigger.isInsert)
dowork(

A, C

When would a developer use a custom controller instead of a controller extension?
Choose 2 answers:
A. When a Visualforce page needs to replace the functionality of a standard controller.
B. When a Visualforce page does not reference a single primary obje

A, B

What is a valid statement about Apex classes and interfaces?
Choose 2 answers:
A. The default modifier for a class is private.
B. Exception classes must end with the word exception.
C. A class can have multiple levels of inner classes.
D. The default modi

C

A developer has the following trigger that fires after insert and creates a child Case whenever a new Case is created.
List<Case> childCases = new List<Case>();
for (Case parent : Trigger.new){
Case child = new Case(ParentId = parent.Id, Subject = parent.

B

A Developer wants to create a custom object to track Customer Invoices.
How should Invoices and Accounts be related to ensure that all Invoices are visible to everyone with access to Account?
A. The Account should have a Lookup relationship to the Invoice

A, D

What is a valid source and destination pair that can send or receive change sets?
Choose 2 answers:
A. Sandbox to production.
B. Developer edition to sandbox.
C. Developer edition to production.
D. Sandbox to sandbox.

C

A developer needs to create records for the object Property__c .The developer creates the following code block:
01 List<Property__c> propertiesToCreate =helperClass.CreateProperties();
02 try {
03
04 } catch (Exception exp) {
05 //Exception handling
06 }

C

When the number of record in a recordset is unknown, which control statement should a developer use to implement a set of code that executes for every record in the recordset, without performing a .size() or .length() method call?
A. For (init_stmt, exit_

B

What is the result when a Visualforce page calls an Apex controller, which calls another Apex class, which then results in hitting a governor limit?
A. Any changes up to the error are saved.
B. Any changes up to the error are rolled back.
C. All changes b

C

A developer has the following code block:
public class PaymentTax {
public static decimal SalesTax = 0.0875;
}
trigger OpportunityLineItemTrigger on OpportunityLineItem (before insert, before update) {
PaymentTax PayTax = new PaymentTax();
decimal Product

A

On a Visualforce page with a custom controller, how should a developer retrieve a record by using an ID that is passed on the URL?
A. Use the constructor method for the controller.
B. Use the $Action.View method in the Visualforce page.
C. Create a new Pa

A

A developer wrote a workflow email alert on case creation so that an email is sent to the case owner manager when a case is created.
When will the email be sent?
A. After Committing to database.
B. Before Committing to database. Calculator
C. Before Trigg

D

A developer creates an Apex helper class to handle complex trigger logic.
How can the helper class warn users when the trigger exceeds DML governor limits?
A. By using ApexMessage.Message() to display an error message after the number of DML statements is

A, C

Which user can edit a record after it has been locked for approval?
Choose 2 answers
A An administrator.
B. Any user who approved the record previously.
C. A user who is assigned as the current approver.
D. Any user- with a higher role in the hierarchy.

C, D

Which type of information is provided by the Checkpoints tab in the Developer Console?
Choose 2 answers
A. Exception
B. Debug Statement
C. Namespace
D. Time

C

What is the proper process for an Apex Unit Test?
A. Query for test datapsing SeeAllData=true. Call the method being tested. Verify that the results are correct
B. Create data for testing. Execute runAllTests(). Verify that the results are correct.
C. Cre

C, D, E

Which declarative method helps ensure quality data?
Choose 3 answers
A. Exception handling
B. Workflow alerts
C. Validation rules
D. Lookup filters
E. Page layouts

A

What is an accurate constructor for a custom controller named "MyController"?
A. public MyController() {
account = new Account();
}
B. public MyController(SObject obj) {
account = (Account) obj;
}
C. public MyController(List<SObject> objects) {
accounts =

C, D

A company wants a recruiting app that models candidates and interviews; displays the total number of interviews each candidate record; and defines security on interview records that is independent from the security on candidate records.
What would a devel

A, C

What is a good practice for a developer to follow when writing a trigger?
Choose 2 answers
A. using the Map data structure to hold query results by ID.
B. Using @future methods to perform DML operations.
C. Using the set data structure to ensure distinct

D

Which code block returns the ListView of an Account object using the following debug statement?
system. debug (controller. getListViewOptions ( ) ) ;
A. ApexPages.StandardSetController controller = new
ApexPages.StandardSetController([SELECT Id FROM Accou

B, C, D

Which data type or collection of data types can SOQL statements populate or evaluate to?
Choose 3 answers
A. A Boolean
B. An integer
C. A list of sObjects
D. A single sObject
E. A string

C, D

Which action can a developer perform in a before update trigger?
Choose 2 answers
A. Update the original object using an update DML operation.
B. Delete the original object using a delete DML operation.
C. Change field values using the Trigger.new context

B, D

Where can debug log filter settings be set?
Choose 2 answers
A. The Filters link by the monitored user's name within the web UI.
B. The Show More link on the debug log's record.
C. On the monitored user's name.
D. The Log Filters tab on a class or trigger

A, B

What is the value of x after the code segment executes?
String x = 'A';
Integer i = 10;
if(i< 15 ){
i = 15;
x = 'B';
else if (i < 20 ){
x = 'C';
}
else {
x = 'D';
}
A. B
B. C
C. D
D. A

A, C

When can a developer use a custom Visualforce page in a Force.com application?
Choose 2 answers
A. To create components for dashboards and layouts.
B. To deploy components between two organizations.
C. To generate a PDF document with application data.
D.

A

Which statement about the Lookup Relationship between a Custom Object and a Standard Object is correct?
A. The Lookup Relationship on the Custom Object can prevent the deletion of the Standard Object.
B. The Lookup Relationship cannot be marked as require

C

A reviewer is required to enter a reason in the comments field only when a candidate is recommended to be hired.
Which action can a developer take to enforce this requirement?
A. Create a required comments field.
B. Create a formula field.
C. Create a val

C

The Sales Management team hires a new intern. The intern is not allowed to view Opportunities, but needs to see the Most Recent Closed Date of all child Opportunities when viewing an Account record.
What would a developer do to meet this requirement?
A. C

A

On which object can an administrator create a roll-up summary field?
A. Any object that is on the master side of a master-detail relationship.
B. Any object that is on the parent side of a lookup relationship.
C. Any object that is on the detail side of a

B

A Visualforce page has a standard controller for an object that has a lookup relationship to a parent object.
How can a developer display data from the parent record on the page?
A. By using SOQL on the Visualforce page to query for data from the parent r

A

A developer needs to create a Visualforce page that will override standard Account edit button. The page will be used to validate the account's address using a SOQL query. The page will also allow the user to make edits to the address.
Where would the dev

B

A developer wants to list all of the Tasks for each Account on the Account detail page. When a Task is created for a Contact what does the developer need to do to display the Task on the related Account record?
A. Create an Account formula field that disp

B, C

What is a capability of a StandardSetController?
Choose 2 answers
A. It extends the functionality of a standard or custom controller
B. It allows pages to perform mass updates of records.
C. It allows pages to perform pagination with large record sets.
D.

D

A developer has the following code.
try
{
List<String> nameList;
Account a;
String s = a.Name;
nameList.add(s);
}
catch (ListException le)
{
System.debug('List Exception');
}
catch (NullPointerException npe)
{
System.debug('NullPointer Exception');
}
catc

A, B, C

Which statement about change set deployments is accurate?
Choose 3 answers
A. They can be used only between related organizations.
B. They require a deployment connection.
C. They use an all or none deployment model.
D They can be used to transfer Contact

B

How would a developer use Schema Builder to delete a custom field from the Account object that was required for prototyping but is no longer needed?
A. Remove all the references In the code and then the field will be removed from Schema Builder.
B. Remove

B, C, A

What is an accurate statement about variable scope?
Choose 3 answers
A. Sub -blocks cannot reuse a parent block's variable name.
B. A variable can be defined at any point in a block.
C. Parallel blocks can use the same variable name.
D. Sub -blocks can re

A, B

When the value of a field in an account record is updated, which method will update the value of custom field in related opportunities?
Choose 2 answers
A. An Apex trigger on the Account object.
B. A Process Builder on the Account object.
C. A cross-objec

D

A developer creates an Apex class that includes private methods.
What can the developer do to ensure that the private methods can be accessed by the test class?
A. Add the TestVisible attribute to the Apex class.
B. Add the SeeAllData attribute to the tes

C

Which scenario is invalid for execution by unit tests.
A. Executing methods for negative test scenario.
B. Executing methods as different users.
C. Loading test data in place of user input for Flows.
D. Load the standard Pricebook ID using a system method

D

A developer runs the following anonymous code block:
List<Account> acc = [SELECT Id FROM Account LIMIT 10];
Delete acc;
Database.emptyRecycleBin(acc);
system.debug(Limits.getDMLStatements()+ 1, 1 +Limits.getLimitDMLStatements());
What is the result?
A. 11

E, B, C

Where can custom roll-up summary fields be created using Standard Object relationships?
Choose 3 answers
A. On Account using Case records.
B. On Account using Opportunity records.
C. On Opportunity using Opportunity Product records.
D. On Quote using Orde

D

A developer has following query
Contact c = [SELECT Id, FirstName, LastName, Email FROM Contact WHERE LastName = 'Smith'];
What does the query return if there is no Contact with the last name "Smith"?
A. A Contact with empty values.
B. A Contact initializ

B

What is an important consideration when in a multi-tenant environment?
A. Polyglot persistance provides support for a global, multilingual user base in multiple orgs on multiple instances
B. Governor limits prevent tenants from impacting performance in mu

C, D

In the Lightning Component framework, which resource can be used to fire events?
Choose 2 answers
A. Visualforce controller options
B. Third-party web service code
C. Third-party Javascript code
D. Javascript controller actions

C, D, E

What is the capability of formula fields?
Choose 3 answers
A. Display the previous value for the field using the PRIORVALUE function.
B. Return and display a field value from another object using a VLOOKUP function.
C. Determine which of three different i

C

In a single record, a user selects multiple values from a multi-select picklist.
How are the selected values represented in Apex?
A. As a String with each value separated by a comma.
B. As a List<String> with each value as a element in the list.
C. As a S

A, B

What is the capability of Force.com IDE?
Choose 2 answers
A. Edit metadata components
B. Run Apex tests
C. Run debug logs
D. Roll back deployments

B

A Hierarchy Custom Setting stores a specific URL for each profile in Salesforce.
Which statement can a developer use to retrieve the correct URL for the current user's profile and display this Visualforce Page?
A. {$Setup.Url_Settings_c.Instance[Profile.I

C

A developer writes a SOQL query to find child records for a specific parent
How many specific levels can be returned in a single query?
A.3
B.5
C.1
D.7

A, C

A developer needs to know if all tests currently pass in salesforce environment
Which feature can the developer use?
Choose 2 answers
A. Developer Console.
B. ANT Migration Tool
C. Salesforce UI Apex Test Execution
D. Workbench Metadata Retrieval

B, C

Which statement should a developer avoid using inside procedural loops?
Choose 2 answers
A. System.debug('Amount of CPU time (in ms) used so far: ' + Limits.getCpuTime());
B. update contactList;
C. List<Contact> contacts = [select id, salutation, firstnam

C

which statement would a developer use when creating test data for products and pricebooks?
A.List objList = Test.loadData(Account.sObjectType,'myResource');
B.Pricebook pb= new Pricebook();
C.Id pricebookId=Test.getStandardPricebookId();
D.IsTest(SeeAllDa

B

How can a developer determine from the DescribeSObjectResult if the current user will be able to create record an object in apex?
A By using the hasAccess() Method.
B. By using the isCreatable() method.
c. By using the isInsertable() method.
D. By using t

A, C

What is a valid statement about Apex classes and interfaces?
Choose 2 answers
A. Exception classes must end with the word exception.
B. A class can have multiple levels of inner classes.
C. The default modifier for a class is private.
D. The default modif

B

The sales management team requires that the Lead Source field of the Lead record be populated when a Lead is converted.
What would a developer use to ensure that a user populates the Lead Source field prior to converting a Lead?
A. Process builder
B. Vali

A

A developer created an Apex trigger using the Developer Console and now wants to debug code.
How can the developer accomplish this in the Developer Console?
A. Open the Logs tab in the Developer Console.
B. Select the Override Log Triggers checkbox for th

A, C

What are the supported content sources for custom buttons and links?
(Choose 2 Answers)
A. VisualForce Page.
B. Static Resource.
C. URL.
D. Chatter File.
E. Lightning Page.

A

What actions types should be configured to display a custom success message?
A. Update a record.
B. Post a feed item.
C. Delete a record.
D. Close a case.

A

When creating a record with a Quick Action, what is the easiest way to post a feed item?
A. By selecting create case feed on the quick action.
B. By adding a trigger on the new record.
C. By adding a workflow rule on the new record.
D. By selecting create

B

What is the easiest way to verify a user before showing them sensitive content?
A. Sending the user a SMS message with a passcode.
B. Calling the generateVerificationUrl method in apex.
C. Sending the user an Email message with a passcode.
D. Calling the

C, E

What features are available when writing apex test classes?
(Choose 2 Answers)
A. The ability to select error types to ignore in the developer console.
B. The ability to write assertions to test after a @future method.
C. The ability to set and modify the

D

public class myController {
public string myString;
public string getMyString(){
return 'getMyString';
}
public string getStringMethod1(){
return myString;
}
public string getStringMethod2(){
if(myString == null)
myString = 'Method2';
return myString;
}
}

D

A developer needs to ensure there is sufficient test coverage for an Apex Method that interacts with Accounts. The developer needs to create test data.
What is the preferred way to load this test data into Salesforce?
A. By using Documents.
B. By using Ht

B

What is the benefit of the Lightning Component framework?
A. Better integration with Force.com sites.
B. More pre-built components to replicate the Salesforce look and feel.
C. More centralized control via server-side logic.
D. Better performance for cust

C

How would a developer determine if a CustomObject__c record has been manually shared with the current user in Apex?
A. By querying the role hierarchy.
B. By calling the isShared() method for the record.
C. By querying CustomObject__Share.
D. By calling th

B, C

Which trigger event allows a developer to update fields in the Trigger.new list without using an additional DML statement? (Choose 2)
A. After update.
B. Before insert.
C. Before update.
D. After insert.

A, D

What is a valid way of loading external JavaScript files into a Visualforce page? (Choose 2)
A. Using an (apex:includeScript)* tag. \>
B. Using an (apex:define)* tag.
C. Using a (link)* tag.
D. Using a (script)* tag.
*For this question, replace ( ) with l

D

Where would a developer build a managed package?
A. Developer Sandbox
B. Unlimited Edition
C. Partial Copy Sandbox
D. Developer Edition

C

What is the correct way to describe how Model-View-Controller (MVC) architecture is implemented on the Salesforce platform?
A. Model: Standard and Custom Objects; View: Visualforce Pages; Controller: s-Controls
B. Model: Schema Builder; View: List Views;

A, D

What is valid in the where clause of a SOQL query?
Choose 2 answers.
A. A geolocation field.
B. An encrypted field.
C. An aggregate function.
D. An alias notation.

B, C, E

A developer creates a method in an Apex class and needs to ensure that errors are handled properly. What would the developer use?
Choose 3 answers.
A. ApexPages.addErrorMessage()
B. A custom exception
C. .addError()
D. Database.handleException()
E. A try/

D

In the Lightning Component framework, where is client-side controller logic contained?
Choose 1 answer.
A. Apex
B. Visualforce
C. HTML
D. JavaScript

A, D, E

Which use case requires a partial copy or full sandbox?
Choose 3 answers.
A. Scalability Testing
B. Development Testing
C. Quality Assurance Testing
D. Batch Data Testing
E. Integration Testing

B

Universal containers wants to rollout new product bundles with several pricing options. Pricing options include product-price bundles, account specific pricing and more. Which product satisfies the needs?
A. Workflow on Opportunity/Opportunity Product
B.

B

Universal containers has included its orders as an external data object into Salesforce. You want to create a relationship between Accounts and the Orders object (one-to-many relationship) leveraging a key field for account which is on both external objec

C

Universal containers has a custom object that has a N:M relationship with opportunityLineItem carrying price and amount information. In order to compute total amounts and total prices per Opportunity using Rollup summary fields, what field type will you u

D

Universal containers has a custom object that has a N:M relationship with opportunityLineItem carrying price and amount information. In order to compute total amounts and total prices per Opportunity using Rollup summary fields, what relationship type wil

C

Universal containers want an org for development which can be refreshed in every 5 days with all the configuration and some data. What org do you choose?
A. Developer Sandbox
B. Developer Pro Sandbox
C. Partial copy sandbox
D. Full Sandbox

B

Which Apex collection is used to ensure all values are unique?
A. An Sobject
B. Set
C. List
D. Enum

C, E

Universal Container installs an unmanaged package. Which of the following are true? Choose 2.
A. Tests are executed during deployment
B. Unmanaged packages can be upgraded
C. Unmanaged packages don't have a version number
D. Unmanaged packages have a name

A, C

Universal Container want to store an area code and wants to be able to search for it in searches. Which are possible fields to store the data? (choose 2)
A. Phone
B. Email
C. Text
D. Multi Picklist

C

Universal containers has a custom object "service" which has a lookup relationship to Account. Universal containers wants to enhance Salesforce1 with an action that allows account managers to enter a new service to an Account while looking at the account?

A

What determines whether a user can create a new record using a specific record type?
A. Profile
B. Page layout
C. Field level security
D. Sharing

B, C, E

Which statements are true regarding Roll-Up Summary fields? Select all that apply
A. Advanced currency management has no affect on roll-up summary fields.
B. Because roll-up summary fields are not displayed on edit pages, you can use them in validation ru

B, C, D

What happens when a workflow is re-evaluated? Pick 3
A. Validation
B. Cross-object sharing rules
C. Other Workflow types
D. Previous Workflows

A, B, D

Which components can be added to a lightning app on custom Object? Choose 3
A. Standard Lightning component
B. Custom lightning component
C. Object specific actions on the custom object
D. Global actions
E. Visualforce

A

A developer executes following code in Console. What will happen?
list<Account> flist = new list<Account>();
for(integer i=1;i<=200 ;i++){
flist.add(new Account(name='Test Acc'+i));
}
insert flist;
list<Account> Llist = new list<Account>();
for(integer i=

B

Developer need to verify that the account trigger is working fine without changing Org data. What should the developer do to test the Account trigger?
A. Use New button on Account tab to create new record
B. Use the test menu on developer console to run a

B

Which is true about social accounts?
A. You can use social accounts data even when you are not logged into the social account.
B. You need a personal social account in order to see social account data
C. You can use social accounts to import data into Sal

A, C

Field type conversion. Which of the following are true? (choose 2)
A. Data can be lost when converting from autonumber to text
B. Information can be lost when converting from text area (rich) to text area (long)
C. Data can be lost when converting from nu

C

Universal Container is using assignment rules to distribute cases to regional teams. Which of the following are true?
A. It is possible to have multiple active assignment rules
B. Cases may be assigned to public groups (if configured)
C. Cases may be assi

B, C

You want to use an External Data Object Table from Heroku carrying Product Category information. The data need to be included in Salesforce and searchable. What do you have to do before you can use the connection? Choose two
A. Choose "include as index fi

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. Vi

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

C, D

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

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.
Ho

C, D

Universal Container want to store an area code and wants to be able to search for it in applications (apex). Which are possible fields to store the data? Choose 2
A. Email
B. Multi Picklist
C. Text
D. Number
E. Phone

A, C

What can a lightning component contain in its resource bundle? Choose two answers.
A. Custom Client-side rendering behavior.
B. Properties files with global settings.
C. CSS styles scoped to the component.
D. Build scripts for minification.

A

Describe the ramifications of field updates and potential for recursion for the following scenario: If a field update for Rule1 triggers Rule2, and a field update for Rule2 triggers Rule1.
A. The updates create a loop and the org limits for workflow time

B

How would a developer change the field type of a custom field on account object from a string to an integer?
A. Make the change in the declarative UI, then update the field type to an integer field in-the apex code.
B. Remove all references in the code, m

A, B

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

B

What is the name of the standard relationship from Account down to Contact?
A. Accounts
B. Contacts
C. Account
D. Contact

B

Which API cannot be used to create the data model?
A. Force.com Single Sign-on API
B. Force.com Metadata API
C. AJAX Tookit for Force.com
D. Force.com API

A

What is a junction object?
A. A custom object with two master-detail relationships.
B. A custom object with one lookup relationship and one master-detail relationship.
C. A custom object with two lookup relationships.
D. A custom object with any number of

B

Which statement about declarations is correct?
A. A developer can extend a class that is declared with Virtual keyword
B. A developer can use define constant with final keyword.
C. A developer can't use class or method using final keyword

C

Which permission is required to install and uninstall packages from Salesforce AppExchange?
A. Manage Package Licenses
B. Upload AppExchange Packages
C. Download AppExchange Packages
D. Create AppExchange Packages

B

In order to create an App Launcher component in lightning what must an admin do?
A. Navigate to Setup-Customize-User Interface to enable the component for the Lightning App Builder.
B. Contact Salesforce to have the component activated for the Lightning A

A

A developer created trigger with following code ,
list<Account> lstAccounts = new list<Account>();
for(order__c objorder:trigger.new){
account a = [select id from Account where id=:objorder.Account__c];
lstAccounts .add(a);
}
update lstAccounts;
How many

D

Which social networks are available in the Lightning Experience and Salesforce1?
A. Klout
B. Facebook
C. LinkedIn
D. Twitter

A, B, D

When a user creates a record by using an object-specific create action, what feed item for that record appears? (choose three)
A. In the Chatter feed of the user who created the record
B. In the feed for the record on which the new record was created
C. I

A, C, D

You can create global actions to let users create which of the following records? (choose three)
A. Question
B. Chatter Posts
C. Event (without invitees)
D. Opportunity
E. Users

B

A salesperson at AW Computing only see's the Social Contact's link for Twitter and not Facebook on his records. Why would this be happening?
A. Facebook is no longer supported by Social Contacts
B. The administrator hasn't enabled Social Contacts for Face

A

A developer has completed work in the sandbox and is ready to send it to a related org, what deployment tool should be used?
A. Change Sets
B. Force.com IDE
C. Unmanaged Packages
D. Force.com Migration Tool

C

When running an Apex test, which type of Apex syntax in tested code is counted in the code coverage calculation?
A. A blank line.
B. A System.debug() statement.
C. A variable assignment.
D. A comment.

B

What is a capability of the Developer Console?
A. Execute Anonymous Apex code, Run REST API, create/Edit code.
B. Execute Anonymous Apex code, Create/Edit code, view Debug Logs.
C. Execute Anonymous Apex code, Create/Edit code, Deploy code changes.
D. Exe

B, D

Which method is defined in the StandardController class? Choose 2 answers
A. Merge
B. Save
C. Undelete
D. Cancel

A, B, E

What tools you need to use to migrate Metadata to Two Different Production Orgs? (Choose 3)
A. Force.Com IDE
B. Force.Com Migration Tool
C. Change Set
D. Data Loader
E. Unmanaged Package

C, D

What should a developer working in a sandbox use to exercise a new test class before the developer deploys that test class to production? Choose 2 answers
A. The REST API and ApexTestRun method
B. The Run Tests page in Salesforce Setup
C. The Apex Test Ex

A, C

Which statement about record types is true? (select 2)
A. The ability to create records of a specific record type is determined by the profile
B. Users cannot view records assigned to a record type their profile does not have access to
C. Record types can

A, B, D

What standard Chatter actions (Post, File, Link, Poll, and Thanks) appear on the user profile page, regardless of the actions in the User page layout? (choose three)
A. Post
B. Poll
C. Create
D. File
E. Email

E

Which of the following fields are not available for record types?
A. Opportunity Stages
B. Case Status
C. Solution Status
D. Lead Status
E. All of the above

B

To enable the Publisher Actions area on Page Layouts, navigate to:
A. Setup | Customize | Feeds | Settings
B. Setup | Customize | Chatter | Settings
C. Setup | Customize | Actions | Settings
D. Setup | Customize | <Objects> | Settings

A, B

When should a system administrator consider using the Salesforce AppExchange? (Choose 2)
A. When looking for pre-built custom applications and tools
B. When standard Salesforce functionality needs to be extended
C. To find answers to Salesforce applicatio

C, D, E

Identify the standard Lightning components. (choose three)
A. List View
B. Dashboards
C. Rich Text
D. Visualforce Page
E. Reports

B

Actions on a Lightning Page allow you to do which of the following?
A. Send email and delete or clone records.
B. Send email, create a task, and create or update records.
C. Clone records, add users, and assign permissions.
D. Send email, send outbound me

A, C

You have created a workflow rule to send an email in your configuration sandbox. For some reason it's not working, what should you double check? (Choose 2)
A. You have the correct email address
B. Look at the system audit trail
C. Check the deliverability

C

What is a lightning page?
A. A page you can access via a customer community.
B. The new name for a Salesforce page layout.
C. A custom layout for creating pages in Salesforce1.
D. A compact, configurable, and reusable element

A, B, E

What is true when a field update is set to re-evaluate the workflow rule? (choose three)
A. Only workflow rules on the same object as the initial field update will be re-evaluated and triggered.
B. Only workflow rules that didn't fire before will be retri

A, C, D

Identify the field update limitations. (choose three)
A. Read-only fields like formula or auto-number fields aren't available for field updates.
B. The results of a field update can't trigger additional rules such as validation, assignment, auto-response,

B

Which deployment tools will you use to deploy metadata from one organization to another organization?
A. Change sets
B. Force.com IDE
C. Unmanaged Packages