weizhen zhao
Test por , creado hace más de 1 año

dev cert

413
2
0
Shonen
Creado por Shonen hace más de 8 años
Shonen
Copiado por Shonen hace más de 8 años
Shonen
Copiado por Shonen hace más de 8 años
d owen
Copiado por d owen hace más de 8 años
weizhen zhao
Copiado por weizhen zhao hace casi 8 años
Cerrar

DEV I Part I

Pregunta 1 de 86

1

Where can debug log filter settings be set? Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • The Log Filters tab on a class or trigger detail page

  • On the monitored user's name

  • The Filters link by the monitored user's name within the Web UI

  • The Show More link on the debug log's record

Explicación

Pregunta 2 de 86

1

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?

Selecciona una de las siguientes respuestas posibles:

  • By using a roll-up formula field on the child record to include data from the parent record

  • By using SOQL on the Visualforce page to query for data from the parent record

  • By adding a second standard controller to the page for the parent record

  • By using merge field syntax to retrieve data from the parent record

Explicación

Pregunta 3 de 86

1

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('Null Pointer Exception');}
catch (Exception e){System.debug ('Generic Exception');}

Selecciona una de las siguientes respuestas posibles:

  • List Exception

  • Null Pointer Exception

  • Generic Exception

  • None

Explicación

Pregunta 4 de 86

1

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';}

Selecciona una de las siguientes respuestas posibles:

  • A

  • B

  • C

  • D

Explicación

Pregunta 5 de 86

1

When can a developer use a custom Visualforce page in a Force.com application? Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • To generate a PDF document with application data

  • To modify the page layout settings for a custom object

  • To create components for dashboards and layouts

  • To deploy components between two organizations

Explicación

Pregunta 6 de 86

1

What is an accurate constructor for a custom controller named 'MyController'?

Selecciona una de las siguientes respuestas posibles:

  • public MyController (List<SObject> objects) {
    accounts = (List <Account>)objects;
    }

  • public MyController () {
    account = new Account()
    }

  • public MyController (SObject obj) {
    account = (Account) obj
    }

  • public MyController (ApexPages.StandardController stdController) {
    account = (Account) stdController.getRecord();
    }

Explicación

Pregunta 7 de 86

1

A developer needs to create records for the object Property__c. The developer creates the following code block. Which line of code would the developer insert at line 03 to ensure that at least some records are created?
01 List <Property__c> propertiesToCreate = helperClass.createProperties();
02 try {
03
04 } catch (Exception exp) {
05 //Exception handling
06 }

Selecciona una de las siguientes respuestas posibles:

  • Insert PropertiesToCreate;

  • Database.insert(propertiesToCreate, System.ALLOW_PARTIAL);

  • Database.insert(propertiesToCreate, false);

Explicación

Pregunta 8 de 86

1

A company wants a recruiting app that models candidates and interviews; displays the total number of interviews for each candidate record; and defines security on interview records that is independent from the security on candidate records. What would a developer do to accomplish this task. Choose 2 answers"

Selecciona una o más de las siguientes respuestas posibles:

  • Create a trigger on the Interview object that updates a field on the Candidate object

  • Create a lookup relationship between the Candidate and Interview objects

  • Create a roll-up summary field on the Candidate object that counts Interview records

  • Create a master-detail relationship between the Candidate and Interview objects

Explicación

Pregunta 9 de 86

1

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 a developer need to do to display the Task on the related Account record?

Selecciona una de las siguientes respuestas posibles:

  • Create a workflow rule to relate the Task to the Contact's Account

  • Create an account formula field that displays the the Task information

  • Nothing. The Task cannot be related to an Account and a Contact.

  • Nothing. The Task is automatically displayed on the Account page.

Explicación

Pregunta 10 de 86

1

What is a capability of a StandardSetController? Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • It extends the functionality of a standard or custom controller

  • It allows pages to perform pagination with large record sets

  • It enforces field-level security when reading large record sets

  • It allows pages to perform mass updates of records

Explicación

Pregunta 11 de 86

1

Which code block returns the ListView of an Account object using the following debug statement?

Selecciona una de las siguientes respuestas posibles:

  • System.debug (controller.getListViewOptions());""";"ApexPages.StandardSetController controller = new ApexPages.StandardSetController ([SELECT Id FROM Account LIMIT 1]);

  • System.debug (controller.getListViewOptions());""";"ApexPages.StandardController controller = new ApexPages.StandardController ([SELECT Id FROM Account LIMIT 1]);

  • System.debug (controller.getListViewOptions());""";"ApexPages.StandardSetController controller = new ApexPages.StandardSetController (Database.getQueryLocator('select Id from Account Limit 1'));

  • System.debug (controller.getListViewOptions());""";"ApexPages.StandardController controller = new ApexPages.StandardController (Database.getQueryLocator('select Id from Account Limit 1'));

Explicación

Pregunta 12 de 86

1

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

Selecciona una o más de las siguientes respuestas posibles:

  • Download a Managed Package from the AppExchange that provides a custom Visualforce page to modify

  • Download an Unmanaged Package from the AppExchange that provides a custom Visualforce page to modify

  • Copy the standard page and then make a new Visualforce page for Product data entry

  • Create a new Visualforce Page and an Apex controller to provide Product data entry

Explicación

Pregunta 13 de 86

1

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?

Selecciona una de las siguientes respuestas posibles:

  • Create a required Visualforce component

  • Create a required comments field

  • Create a validation rule

  • Create a formula field

Explicación

Pregunta 14 de 86

1

Which statement should a developer avoid using inside procedural loops? Choose 2 answers"

Selecciona una o más de las siguientes respuestas posibles:

  • System.debug('Amount of CPU time (in ms) used so far: ' + Limits.getCpuTime());

  • if(o.accountid == a.id)

  • update contactList;

  • List<Contact> contacts = [select id, salutation, firstname, email from Contact where accountId = :a.Id];

Explicación

Pregunta 15 de 86

1

Which type of code represents the Controller in the MVC architecture on the Force.com platform? Choose 2 answers"

Selecciona una o más de las siguientes respuestas posibles:

  • StandardController system methods that are referenced by Visualforce

  • A static resource that contains CSS and images

  • Custom Apex and JavaScript code that is used to manipulate data

  • JavaScript that is used to make a menu item display itself

Explicación

Pregunta 16 de 86

1

What will automatically obey the organization-wide defaults and sharing settings for the user who executes the code in the Salesforce organization?

Selecciona una de las siguientes respuestas posibles:

  • Apex controllers

  • Anonymous Blocks

  • Apex triggers

  • HTTP Callouts

Explicación

Pregunta 17 de 86

1

A developer needs to know if all tests currently pass in a Salesforce environment. Which feature can the developer use? Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Workbench Metadata Retrieval

  • ANT Migration Tool

  • Salesforce UI Apex Test Execution

  • Developer Console

Explicación

Pregunta 18 de 86

1

What is a valid source and destination pair that can send or receive change sets? Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Developer edition to sandbox

  • Developer edition to production

  • Sandbox to sandbox

  • Sandbox to production

Explicación

Pregunta 19 de 86

1

Which declarative method helps ensure quality data? Choose 3 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Page layouts

  • Workflow alerts

  • Lookup filters

  • Validation rules

  • Exception handling

Explicación

Pregunta 20 de 86

1

How can a developer determine, from the DescribeSObjectResult, if the current user will be able to create records for an object in Apex?

Selecciona una de las siguientes respuestas posibles:

  • By using the isCreatable() method

  • By using the hasAccess() method

  • By using the isInsertable() method

  • By using the canCreate() method

Explicación

Pregunta 21 de 86

1

The Sales Management team hires a new intern. The new 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.

Selecciona una de las siguientes respuestas posibles:

  • Create a roll-up summary field on the Account object that performs a MAX on the Opportunity Close Date field

  • Create a formula field on the Account object that performs a MAX on the Opportunity Close Date field

  • Create a Workflow Rule on the Opportunity object that updates a field on the parent Account

  • Create a trigger on the Account object that queries the Close Date of the most recent Opportunities

Explicación

Pregunta 22 de 86

1

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 can the developer perform to get the record types and picklist values in the controller? Choose 2 answers""

Selecciona una o más de las siguientes respuestas posibles:

  • Use SOQL to query Case records in the org to get all the RecordType values available for Case

  • Use Schema.PicklistEntry returned by Case.Status.getDescribe().getPicklistValues()

  • Use Schema.RecordTypeInfo returned by Case.SObjectType.getDescribe().getRecordTypeInfos()

  • Use SOQL to query Case records in the org to get all values for the Status picklist field

Explicación

Pregunta 23 de 86

1

What is a capability of formula fields? Choose 3 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Generate a link using the HYPERLINK function to a specific record in a legacy system

  • Determine which of the three different images to display using the IF function

  • Return and display a field value from another object using the VLOOKUP function

  • Display the previous value for a field using the PRIORVALUE function

  • Determine if a datetime field has passed using the NOW function

Explicación

Pregunta 24 de 86

1

Which action can a developer perform in a before update trigger? Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Change field values using the Trigger.new context variable

  • Display a custom error message in the application interface

  • Update the original object using an update DML operation

  • Delete the original object using a delete DML operation

Explicación

Pregunta 25 de 86

1

Which trigger event allows a developer to update fields in the Trigger.new list without using an additional DML statement? Choose 2 answers.

Selecciona una o más de las siguientes respuestas posibles:

  • After insert

  • After update

  • Before update

  • Before insert

Explicación

Pregunta 26 de 86

1

When the value of a field in an account record is updated, which method will update the value of a custom field related opportunities? Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • A Workflow Rule on the Account object

  • An Apex trigger on the Account object

  • A Process Builder on the Account object

  • A cross-object formula field on the Account object

Explicación

Pregunta 27 de 86

1

Which statement about change set deployments is accurate? Choose 3 answers

Selecciona una o más de las siguientes respuestas posibles:

  • They can be used to deploy custom settings data

  • They can be used to transfer Contact records

  • They use an all or none deployment model

  • They can be used only between related organizations

  • They require a deployment connection

Explicación

Pregunta 28 de 86

1

Where can custom roll-up summary fields be created using Standard Object relationships? Choose 3 answers"

Selecciona una o más de las siguientes respuestas posibles:

  • On Opportunity using Opportunity Product records

  • On Quote using Order records

  • On Campaign using Campaign Member records

  • On Account using Case records

  • On Account using Opportunity records

Explicación

Pregunta 29 de 86

1

Where would a developer build a managed package

Selecciona una de las siguientes respuestas posibles:

  • Partial Copy Sandbox

  • Developer Sandbox

  • Unlimited Edition

  • Developer Edition

Explicación

Pregunta 30 de 86

1

Which scenario is invalid for execution by unit tests?

Selecciona una de las siguientes respuestas posibles:

  • Executing methods as different users

  • Executing methods for negative test scenarios

  • Loading the standard Pricebook ID using a system method

  • Loading test data in place of user input for Flows  

Explicación

Pregunta 31 de 86

1

A developer creates a custom controller and custom Visualforce page by using the following. What does the user see when accessing the custom page?
Controller
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;
}
}
Page:
<apex:page controller =""myController"">
{!myString} {!StringMethod1} {!StringMethod2} {!myString}
</apex:page>

Selecciona una de las siguientes respuestas posibles:

  • getMyString Method2 getMyString

  • Method2

  • Method2, getMyString

Explicación

Pregunta 32 de 86

1

In which order does Salesforce execute events upon saving a record?

Selecciona una de las siguientes respuestas posibles:

  • Before Triggers, Validation Rules, After Triggers, Assignment Rules, Workflow, Commit

  • Validation Rules, Before Triggers, After Triggers, Assignment Rules, Workflow, Commit

  • Validation Rules, Before Triggers, After Triggers, Workflow, Assignment Rules, Commit

  • Before Triggers, Validation Rules, After Triggers, Workflow, Assignment Rules, Commit

Explicación

Pregunta 33 de 86

1

In a single record, a user selects multiple values from a multi-select picklist. How are the selected values represented in Apex?

Selecciona una de las siguientes respuestas posibles:

  • As a string with each value separated with a semicolon

  • As a string with each value separated with a comma

  • As a List <String> with each element as an element in the list

  • As a Set <String> with each element as an element in the set

Explicación

Pregunta 34 de 86

1

What is a valid way of loading external Javascript files into a Visualforce page? Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Using a <link> tag

  • Using a <script> tag

  • Using an <apex:includeScript> tag

  • Using an <apex:define> tag

Explicación

Pregunta 35 de 86

1

A developer runs the following anonymous code block. What is the result?:

List <Account> acc = [SELECT Id FROM Account LIMIT 10];
Delete acc;
Database.emptyRecycleBin (acc);
system.debug(Limits.getDMLStatements()+”;”+Limits.getLimitDMLStatements());

Selecciona una de las siguientes respuestas posibles:

  • 150; 2

  • 11; 150

  • 2;150

  • 150;11

Explicación

Pregunta 36 de 86

1

What is a benefit of a Lightining Component framework?

Selecciona una de las siguientes respuestas posibles:

  • Better integration with Force.com sites

  • Better performance for custom Salesforce1 Mobile apps

  • More pre-built components to replicate the Salesforce look and feel

  • More centralized control via server-side logic

Explicación

Pregunta 37 de 86

1

Which data type or collection of data types can SOQL statements populate or evaluate to? Choose 3 answers"

Selecciona una o más de las siguientes respuestas posibles:

  • An integer

  • A string

  • A single SObject

  • A list of SObjects

  • A Boolean

Explicación

Pregunta 38 de 86

1

In the Lightning Component framework, which resource can be used to fire events? Choose 2 answers.

Selecciona una o más de las siguientes respuestas posibles:

  • Third-party Javascript code

  • Visualforce controller actions

  • Javascript controller actions

  • Third-party web service code

Explicación

Pregunta 39 de 86

1

What is a capability of the Force.com IDE? Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Download debug logs

  • Run Apex tests

  • Edit metadata components

  • Roll back deployments

Explicación

Pregunta 40 de 86

1

What is an important consideration when developing in a multi-tenant environment?

Selecciona una de las siguientes respuestas posibles:

  • Unique domain names take the place of namespaces for code developed for multiple orgs on multiple instances

  • Polyglot persistence provides support for a global multilingual user base in multiple orgs on multiple instance

  • Governor limits prevent tenants from impacting performance in multiple orgs on the same instance

  • Org-wide data security determines whether other tenants can see data in multiple orgs on the same instance

Explicación

Pregunta 41 de 86

1

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?"

Selecciona una de las siguientes respuestas posibles:

  • Add the SeeAllData attribute to the test class

  • Add the TestVisible attribute to the Apex methods

  • Add the SeeAllData attribute to the test methods

  • Add the TestVisible attribute to the Apex class

Explicación

Pregunta 42 de 86

1

What is the proper process for an Apex unit test?

Selecciona una de las siguientes respuestas posibles:

  • Query for test data using SeeAllData=true. Call the method being tested. Verify that the results are correct.

  • Create data for testing. Call the method being tested. Verify that the results are correct.

  • Create data for testing. Execute runAllTests(). Verify that the results are correct.

  • Query for test data using SeeAllData=true. Execute runAllTests(). Verify that the results are correct.

Explicación

Pregunta 43 de 86

1

How can a developer avoid exceeding governor limits when using an Apex trigger? Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • By using the Database class to handle DML transactions

  • By using a helper class that can be invoked from multiple triggers

  • By performing DML transactions on lists of SObjects

  • By using Maps to hold data from query results

Explicación

Pregunta 44 de 86

1

A developer has the following query: [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'?

Selecciona una de las siguientes respuestas posibles:

  • A Contact with empty values

  • An empty List of Contacts

  • A Contact initialized to null

  • An error that no rows are found

Explicación

Pregunta 45 de 86

1

When loading data into an organization, what can a developer do to match records to update existing fields?

Selecciona una o más de las siguientes respuestas posibles:

  • Match an auto-generated Number field to a column in the imported file

  • Match an external Id Text field to a column in the imported file

  • Match the Name field to a column in the imported file

  • Match the Id field to a column in the imported file

Explicación

Pregunta 46 de 86

1

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 Visualforce page?

Selecciona una de las siguientes respuestas posibles:

  • {!$Setup.Url_Settings__c.URL__c}

  • {!$Setup.Url_Settings__c.[Profile.Id].URL__c}

  • {!$Setup.Url_Settings__c.[$Profile.Id].URL__c}

  • {!$Setup.Url_Settings__c.Instance[Profile.Id].URL__c}

Explicación

Pregunta 47 de 86

1

A developer needs to create a Visualforce page that will override the 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 developer write the Account address verification logic?

Selecciona una de las siguientes respuestas posibles:

  • In a Custom Controller

  • In a Standard Extension

  • In a Standard Controller

  • In a Controller Extension

Explicación

Pregunta 48 de 86

1

What is an accurate statement about variable scope? Choose 3 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Sub-blocks cannot reuse a parent block's variable name

  • Parallel blocks can use the same variable name

  • Sub-blocks can reuse a parent block's variable name if its value is null

  • A static variable can restrict the scope to the current block if its value is null

  • A variable can be defined at any point in a block

Explicación

Pregunta 49 de 86

1

Which type of information is provided by the Checkpoints tab in the Developer Console? Choose 2 answers"

Selecciona una o más de las siguientes respuestas posibles:

  • Namespace

  • Time

  • Debug Statement

  • Exception

Explicación

Pregunta 50 de 86

1

A developer writes a SOQL query to find child records for a specific parent. How many levels can be returned in a single query?

Selecciona una de las siguientes respuestas posibles:

  • 5

  • 1

  • 7

  • 3

Explicación

Pregunta 51 de 86

1

What is a good practice for a developer to follow when writing a trigger? Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Using synchronous callouts to call external systems

  • Using the Map data structure to hold query results by ID

  • Using @future methods to perform DML operations

  • Using the Set data structure to ensure distinct records

Explicación

Pregunta 52 de 86

1

52. 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?

Selecciona una de las siguientes respuestas posibles:

  • By using PageReference.setRedirect() to redirect the user to a custom Visualforce page before the number of DML statements is exceeded

  • By using Limits.getDMLRows() and then displaying an error message before the number of DML statements is exceeded

  • By using ApexMessage.Message() to display an error message after the number of DML statements is exceeded

  • By using Messaging.SendEmail() to continue the transaction and send an alert to the user after the number of DML statements is exceeded

Explicación

Pregunta 53 de 86

1

Which statement about the Lookup Relationship between a Custom Object and a Standard Object is correct?

Selecciona una de las siguientes respuestas posibles:

  • The Custom Object will be deleted when the referenced Standard Object is deleted

  • The Lookup Relationship cannot be marked as required on the page layout for the Custom Object

  • The Custom Object inherits security from the referenced Standard Object

  • The Lookup Relationship on the Custom Object can prevent the deletion of the Standard Object

Explicación

Pregunta 54 de 86

1

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?

Selecciona una de las siguientes respuestas posibles:

  • By using HttpCalloutMocks

  • By using Documents

  • By using Static Resources

  • By using WebServiceTests

Explicación

Pregunta 55 de 86

1

Which user can edit a record after it has been locked for approval? Choose 2 answers.

Selecciona una o más de las siguientes respuestas posibles:

  • An administrator

  • Any user who approved the record previously

  • A user who is assigned as the current approver

  • Any user with a higher role in the hierarchy

Explicación

Pregunta 56 de 86

1

On which object can an administrator create a roll-up summary field?

Selecciona una de las siguientes respuestas posibles:

  • Any object that is on the detail side of a master-detail relationship

  • Any object that is on the child side of a lookup relationship

  • Any object that is on the parent side of a lookup relationship

  • Any object that is on the master side of a master-detail relationship

Explicación

Pregunta 57 de 86

1

Which statement would a developer use when creating test data for products and pricebooks?

Selecciona una de las siguientes respuestas posibles:

  • Pricebook pb = new Pricebook ();

  • IsTest(SeeAllData = false)

  • List objList = Test.loadData(Account.sObjectType 'myResource');

  • Id pricebookId = Test.getStandardPricebookId();

Explicación

Pregunta 58 de 86

1

Which use case requires a partial copy or full sandbox? Choose 3 answers.

Selecciona una o más de las siguientes respuestas posibles:

  • Scalability Testing

  • Development Testing

  • Quality Assurance Testing

  • Batch Data Testing

  • Integration Testing

Explicación

Pregunta 59 de 86

1

In the Lightning Component framework, where is client-side controller logic contained?

Selecciona una de las siguientes respuestas posibles:

  • Apex

  • Visualforce

  • HTML

  • JavaScript

Explicación

Pregunta 60 de 86

1

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.

Selecciona una o más de las siguientes respuestas posibles:

  • ApexPages.addErrorMessage()

  • A custom exception

  • addError()

  • Database.handleException()

  • A try/catch construct

Explicación

Pregunta 61 de 86

1

What is valid in the where clause of a SOQL query? Choose 2 answers.

Selecciona una o más de las siguientes respuestas posibles:

  • A geolocation field.

  • An encrypted field.

  • An aggregate function.

  • An alias notation.

Explicación

Pregunta 62 de 86

1

What is the correct way to describe how Model-View-Controller (MVC) architecture is implemented on the Salesforce platform?

Selecciona una de las siguientes respuestas posibles:

  • Model: Standard and Custom Objects; View: Visualforce Pages; Controller: s-Controls

  • Model: Schema Builder; View: List Views; Controller: Setup Console

  • Model: Standard and Custom Objects; View: Visualforce Pages; Controller: Apex Code

  • Model: Apex Code; View: List Views; Controller: Setup Console

Explicación

Pregunta 63 de 86

1

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=201;i<=20000 ;i++){
Llist.add(new Account(name='Test Acc'+i));
}
insert Llist ;

Selecciona una de las siguientes respuestas posibles:

  • Insert all records

  • Error will occur

  • Insert 200 only

  • Records inserted

Explicación

Pregunta 64 de 86

1

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?

Selecciona una de las siguientes respuestas posibles:

  • Use the test menu on developer console to run all test classes for the account trigger.

  • Use Execute Anonymous feature on developer console

  • Use New button on Account tab to create new record

  • Use force.com IDE

Explicación

Pregunta 65 de 86

1

Which Apex collection is used to ensure all values are unique?

Selecciona una de las siguientes respuestas posibles:

  • An Sobject

  • Set

  • List

  • Enum

Explicación

Pregunta 66 de 86

1

What is the benefit of Lightning Component: (Pregunta parecida con dos respuestas para elegir)

Selecciona una de las siguientes respuestas posibles:

  • It uses Client - Side Apex controller for logic

  • It uses MVC architecture

  • It uses Event - driven architecture

Explicación

Pregunta 67 de 86

1

How would a developer change the field type of a custom field on account object from a string to an integer?

Selecciona una de las siguientes respuestas posibles:

  • Remove all references in the code, make the change in the declarative UI, and restore the references with the new type.

  • Make the change in the developer console, and then the change will automatically be reflected in the apex.

  • Make the change in the declarative UI, and then the change will automatically be reflected in the apex code.

  • Make the change in the declarative UI, then update the field type to an integer field in-the apex code.

Explicación

Pregunta 68 de 86

1

What can a lightning component contain in its resource bundle? Choose two answers.

Selecciona una o más de las siguientes respuestas posibles:

  • CSS styles scoped to the component.

  • Custom Client-side rendering behavior.

  • Build scripts for minification.

  • Properties files with global settings.

Explicación

Pregunta 69 de 86

1

Which is true about social accounts?

Selecciona una de las siguientes respuestas posibles:

  • You can use social accounts data even when you are not logged into the social account.

  • You need a personal social account in order to see social account data

  • You can use social accounts to import data into salesforce

  • Connection to social account is established thrugh a company wide “named principal”

Explicación

Pregunta 70 de 86

1

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):

Selecciona una o más de las siguientes respuestas posibles:

  • Press “validate and sync”

  • Choose “include in Salesforce searches” option

  • Choose “include as index field”

  • URL / choose the URL (?)

Explicación

Pregunta 71 de 86

1

71. Person Accounts... (choose two):

Selecciona una o más de las siguientes respuestas posibles:

  • Do use space in both account and contacts table

  • Have the same icon as Business accounts

  • Can only be merged with other person accounts

  • Are enabled by default

  • Are enabled via feature license

Explicación

Pregunta 72 de 86

1

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: (choose 1)

Selecciona una de las siguientes respuestas posibles:

  • Custom Appexchange-app for product-pricing

  • Workflow on Opportunity/Opportunity Product

  • Formula fields on Opportunity/Opportunity Product

  • Lightning process builder

Explicación

Pregunta 73 de 86

1

Which components can be added to a lightning app on custom Object: (choose 3)

Selecciona una o más de las siguientes respuestas posibles:

  • Visualforce

  • Standard Lightning component

  • Custom lightning component

  • Global actions

  • Object specific actions on the custom object

Explicación

Pregunta 74 de 86

1

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:

Selecciona una de las siguientes respuestas posibles:

  • Enter an object specific action to Account and put it in the Account Layout

  • Enter an object specific action to Service and put it in the Account Layout

  • Enter an object specific action to Service and put it in the Service Layout

  • Enter an object specific action to Account and put it in the Service Layout

Explicación

Pregunta 75 de 86

1

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 object and Account. Which relationship do you create:

Selecciona una de las siguientes respuestas posibles:

  • Lookup Relationship

  • Master Detail Relationship

  • Hierarchical Relationship

  • External Lookup Relationship

  • Indirect Lookup Relationship

Explicación

Pregunta 76 de 86

1

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 use

Selecciona una de las siguientes respuestas posibles:

  • Junction

  • Master-Detail

  • Lookup

  • Crossobject

Explicación

Pregunta 77 de 86

1

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):

Selecciona una o más de las siguientes respuestas posibles:

  • Text

  • Phone

  • Email

  • Multi Picklist

Explicación

Pregunta 78 de 86

1

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):

Selecciona una o más de las siguientes respuestas posibles:

  • Text

  • Phone

  • Email

  • Multi Picklist

  • Number

Explicación

Pregunta 79 de 86

1

Universal Container installs an unmanaged package. Which of the following are true: (choose 2):

Selecciona una o más de las siguientes respuestas posibles:

  • Components of unmanaged packages can be edited

  • Unmanaged packages can be upgraded

  • Unmanaged packages have a namespace prefix

  • Unmanaged packages don’t have a version number

  • Tests are executed during deployment

Explicación

Pregunta 80 de 86

1

Universal Container is using assignment rules to distribute cases to regional teams. Which of the following are true:

Selecciona una de las siguientes respuestas posibles:

  • It is possible to have multiple active assignment rules

  • Cases may be assigned to public groups (if configured)

  • Cases may be assigned to queues (if configured)

  • A workflow field update can be used instead

Explicación

Pregunta 81 de 86

1

Field type conversion. Which of the following are true: (choose 2):

Selecciona una o más de las siguientes respuestas posibles:

  • Data can be lost when converting from simple picklist to multi picklist

  • Data can be lost when converting from autonumber to text

  • Data can be lost when converting from number to currency (assuming that field lengths are identical)

  • Information can be lost when converting from text area (rich) to text area (long)

Explicación

Pregunta 82 de 86

1

What happens when a workflow is re-evaluated? Pick 3

Selecciona una o más de las siguientes respuestas posibles:

  • Validation

  • Previous Workflows

  • Cross-object sharing rules

  • Other Workflow types

Explicación

Pregunta 83 de 86

1

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:

Selecciona una de las siguientes respuestas posibles:

  • Full Sandbox

  • Developer Sandbox

  • Developer Pro Sandbox

  • Partial copy sandbox

Explicación

Pregunta 84 de 86

1

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.

Selecciona una de las siguientes respuestas posibles:

  • Loop is allowed to run 25 times within one hour. If it does not end on its own the process will be stopped by R&D.

  • The updates create a loop and the org limits for workflow time triggers per hour will likely be violated.

  • The updates create a loop and the org be blocked until the admin resolves the issue

  • When the second trigger is saved an Imminent Loop Error message will be displayed and the workflow rule update will not save.

Explicación

Pregunta 85 de 86

1

What determines whether a user can create a new record using a specific record type?

Selecciona una de las siguientes respuestas posibles:

  • Profile

  • Field level security

  • Page layout

  • Sharing

Explicación

Pregunta 86 de 86

1

Which statements are true regarding Roll-Up Summary fields? (select all that apply)

Selecciona una o más de las siguientes respuestas posibles:

  • Because roll-up summary fields are not displayed on edit pages, you can use them in validation rules but not as the error location for you validation.

  • Validation errors can display when saving either the detail or master record.

  • Once created, you cannot change the detail object selected or delete any field referenced in your roll-up summary definition.

  • Advanced currency management has no affect on roll-up summary fields.

  • Automatically derived fields, such as current date or current user, are allowed in a roll-up summary field.

Explicación