Jessica F
Test por , creado hace más de 1 año

Salesforce Salesforce Test sobre Salesforce Dev 1 Exam Practice, creado por Jessica F el 19/04/2017.

785
5
0
Jessica F
Creado por Jessica F hace alrededor de 7 años
Cerrar

Salesforce Dev 1 Exam Practice

Pregunta 1 de 148

1

Why would a developer use Test.startTest() and Test.stopTest()?

Selecciona una de las siguientes respuestas posibles:

  • To avoid apex code coverage requirements for the code between the lines.

  • To start and stop anonymous block execution when executing anonymous apex code.

  • To indicate test code so that it does not impact Apex line count governor limits.

  • To create an additional set of governor limits during the set of a single test class.

Explicación

Pregunta 2 de 148

1

What must a controller for a VF page utilize to override the standard opportunity view button?

Selecciona una de las siguientes respuestas posibles:

  • The StandardSetController to support related lists for pagination.

  • The Opportunity StandardController for pre-built functionality.

  • A callback constructor to reference the StandardController.

  • A constructor that initializes a private Opportunity variable.

Explicación

Pregunta 3 de 148

1

A developer Uses a before insert trigger on 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 10000 Lead records. The developer has the following code block:

for(Lead l : Trigger.new){
If(l.PostalCode != null){
List<Territory__c> terrList = [Select Id from Territory__c where PostalCode__c =: l.PostalCode ];
If(terrList.size() > 0){
l.Territory__c = terrList[0].Id;
}
}
}

Which line of code is causing the code block to fail?

Selecciona una de las siguientes respuestas posibles:

  • 03: A SOQL query is located inside of the for loop code.

  • 01: Trigger.new is not valid in a before insert Trigger.

  • 02: A NullPointer exception is thrown if postalCode is null.

  • 05: The Lead in a before insert trigger cannot be updated.

Explicación

Pregunta 4 de 148

1

What would a developer do to update a picklist field on related Opportunity records when a modification to the associated Account record is detected?

Selecciona una de las siguientes respuestas posibles:

  • Create a process with Process Builder.

  • Create a workflow rule with a field update.

  • Create a Lightning Component.

  • Create a VF page.

Explicación

Pregunta 5 de 148

1

Which requirement needs to be implemented by using standard workflow instead of Process Builder? Choose 2 answers.

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

  • Create activities at multiple intervals.

  • Send an outbound message without Apex Code.

  • Copy an account address to its contacts.

  • Submit a contact for approval.

Explicación

Pregunta 6 de 148

1

In the code below, what type does Boolean Inherit from?
Boolean b = true;

Selecciona una de las siguientes respuestas posibles:

  • Enum

  • Object

  • String

  • Class

Explicación

Pregunta 7 de 148

1

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

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

  • Create a method that creates valid Account records, and call this method from within test methods.

  • Create a method that loads valid Account records from a Static resource, and call this method within test methods.

  • Create a method tha performs a callout for a valid Accounyt record, and call this method from within test methods.

  • Create a method that queries for a valid Account records, and call this method from within test methods.

Explicación

Pregunta 8 de 148

1

Which component is available to deploy using Metadata API?
Choose 2 answers

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

  • Case Layout

  • Account Layout

  • Case Feed Layout

  • Console Layout

Explicación

Pregunta 9 de 148

1

What is the preferred way to reference web content—such as images, stylessheet, Javascript, and other libraries – that is used in VF pages?

Selecciona una de las siguientes respuestas posibles:

  • By accessing the content from Chatter Files.

  • By uploading the content in the Documents tab.

  • By accessing the content from a thirty – party CDN.

  • By uploading the content as a Static Resource.

Explicación

Pregunta 10 de 148

1

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?

Selecciona una de las siguientes respuestas posibles:

  • One to Many

  • Lookup

  • Master – Detail

  • Parent Child

Explicación

Pregunta 11 de 148

1

A Developer creates a Workflow Rule declaratively that updates a field on an object. An Apex update trigger exists for the object.
What happens when a user updates a record?

Selecciona una de las siguientes respuestas posibles:

  • No changes are made to the data.

  • Both the Apex Trigger and Workflow Rule are fired only once.

  • The Workflow rule is fired more than once.

  • The Apex Trigger is fired more than once.

Explicación

Pregunta 12 de 148

1

What is true of a partial sandbox that is not true of a full sandbox?
Choose 2 answers

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

  • More frequent refreshes.

  • Only include necessary metadata.

  • Use of change sets.

  • Limited to 5GB of data.

Explicación

Pregunta 13 de 148

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 Rules; Commit

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

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

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

Explicación

Pregunta 14 de 148

1

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

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

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

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

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

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

Explicación

Pregunta 15 de 148

1

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

Selecciona una de las siguientes respuestas posibles:

  • The values in CampaignMember.Estimated_Value__c are converted into the currency into the currency of the Campaign record, and the sum is display using the currency on the Campaign record.

  • The values in CampaignMember.Estimated_Value__c are converted into the currency on the majority of the CampaignMember records and the sum is displayed using that currency.

  • The values in CampaignMember.Estimated_Value__c are summed up and the resulting Total_Estimated_Value__c field is displayed as a numeric field on the Campaign record.

  • The values in CampaignMember.Estimated_Value__c are converted into the currency of the current user, and the sum is displayed using the currency on the Campaign record.

Explicación

Pregunta 16 de 148

1

A Candidate may apply to multiple jobs at the company Universal Containers by submitting a single application per job posting. Once an application is submitted for a job posting, that application cannot be modified to be resubmitted to a different job posting.
What can the administer do to associate an application with each job posting in the scema for the organization?

Selecciona una de las siguientes respuestas posibles:

  • Create a lookup relationship on both objects to a junction object Job Posting Applications.

  • Create a master- detail relationship in the Job postings custom object to the Applications custom object.

  • Create a master- detail relationship in the Application custom object to the job Postings custom object.

  • Create a lookup relationship in the Applications custom object to the Job Postings custom object.

Explicación

Pregunta 17 de 148

1

What is a characteristic of the Lightning Component Framework?
Choose 2 answers.

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

  • It has an event–driven Architecture.

  • It works with the existing VF pages.

  • It includes responsive components.

  • It uses XML as its data format.

Explicación

Pregunta 18 de 148

1

What is a capability of cross – object formula fields?
Choose 3 answers.

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

  • Formula fields can reference fields from master –detail or lookup parent relationships.

  • Formula fields can expose data the user does not have access to in a record.

  • Formula fields can be used in three roll-up summaries per object.

  • Formula fields can reference fields in a collection of records from a child relationship.

  • Formula fields can reference fields from objects that are up to 10 relationships away.

Explicación

Pregunta 19 de 148

1

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 the Salesforce organization?

Selecciona una de las siguientes respuestas posibles:

  • Apex Triggers

  • HTTP Callouts

  • Apex Controllers

  • Anonymous Blocks

Explicación

Pregunta 20 de 148

1

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?

Selecciona una de las siguientes respuestas posibles:

  • Select the override Log Triggers checkbox for the trigger.

  • Add the user name in the Log Inspector.

  • Open the Progress tab in the Developer Console.

  • Open the Logs tab in the Developer Console.

Explicación

Pregunta 21 de 148

1

Which data structure is returned to a developer when performing a SOSL search?

Selecciona una de las siguientes respuestas posibles:

  • A list of lists of sObjects.

  • A map of sObject types to a list of sObjects.

  • A map of sObject type to a list of lists of sObjects.

  • A list of sObjects.

Explicación

Pregunta 22 de 148

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 a helper class that can be invoked from multiple triggers.

  • By using the database class to handle DML transactions.

  • By usings Maps to hold data from query results.

  • By performing DML transactions on lists of sObjects.

Explicación

Pregunta 23 de 148

1

What is a correct pattern to follow when programming in Apex on a multi-tenant platform?

Selecciona una de las siguientes respuestas posibles:

  • Apex code is created in a separate environment from schema to reduce deployment errors.

  • DML is performed on one record at a time to avoid possible data concurrency issues.

  • Queries select the fewest fields and the records possible to avoid exceeding governor limits.

  • Apex classes use the “with sharing” keyword to prevent access from other server tenants.

Explicación

Pregunta 24 de 148

1

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.

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

  • The REST API and apexTestRun method.

  • The Apex Test Execution page in Salesforce Setup

  • The Test menu in the Developer Console.

  • The Run Tests page in Salesforce setup.

Explicación

Pregunta 25 de 148

1

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

Selecciona una de las siguientes respuestas posibles:

  • Create an escalation rule to the hiring manager.

  • Create an auto response rule to the candidate.

  • Create a Process Builder with an outbound message action.

  • Create a workflow rule an outbound message action.

Explicación

Pregunta 26 de 148

1

What is an accurate statement about with sharing keyword?
Choose 2 answers

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

  • Inner classes do not inherit the sharing setting from the container class.

  • Both inner and outer classes can be declared as with sharing.

  • Either inner or outer classes can be declared as with sharing, but not both.

  • Inner classes inherit the sharing setting from the container class.

Explicación

Pregunta 27 de 148

1

How can a developer refer to, or instantiate, a PageReference in Apex?
Choose 2 answers.

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

  • By using a PageReference with a partial or full URL.

  • By using the Page object and a VF page name.

  • By using the ApexPages.Page() method with a VF name.

  • By using the PageReference.Page() method with a partial or full URL.

Explicación

Pregunta 28 de 148

1

Which standard field must be populated when a developer inserts new Contact records programmatically?

Selecciona una de las siguientes respuestas posibles:

  • AccountId.

  • Name

  • LastName

  • FirstName.

Explicación

Pregunta 29 de 148

1

What is the minimum log level needed to see user-generated debug statements?

Selecciona una de las siguientes respuestas posibles:

  • DEBUG

  • FINE

  • INFO

  • WARN

Explicación

Pregunta 30 de 148

1

A developer creates a new VF 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 classes and triggers is 74%, at least 75% test coverage is required.”
What can the developer do to successfully deploy the new VF page and extension?

Selecciona una de las siguientes respuestas posibles:

  • Create test classes to exercise the VF page markup.

  • Select “Disable Parallel APEX testing” to run all the tests.

  • Add test methods to existing test classes from previous deployments.

  • Select “Fast Deployment” to bypass running all the tests.

Explicación

Pregunta 31 de 148

1

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

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

  • Before update

  • After Insert

  • Before Insert

  • After update.

Explicación

Pregunta 32 de 148

1

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?

Selecciona una de las siguientes respuestas posibles:

  • Create a junction object to relate many engines to many parts through a master-detail relationship.

  • Create a master-detail relationship to represent the one-to-many model of engines to parts.

  • Create a lookup relationship to represent how each part relates to the parent engine object.

  • Create a function object to relate many engines to many parts through a lookup relationship.

Explicación

Pregunta 33 de 148

1

To which primitive data type in Apex is a currency field automatically assigned?

Selecciona una de las siguientes respuestas posibles:

  • Integer

  • Decimal

  • Double

  • Currency

Explicación

Pregunta 34 de 148

1

Which resource can be included in a Lightning Component bundle?
Choose 2 answers

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

  • Apex class

  • Adobe flash

  • Javascript

  • Documentation

Explicación

Pregunta 35 de 148

1

A custom exception named “RecordNotFoundException” is defined by the following code block:
Public class RecordNotFoundException extend Exception ()
Which statement can a developer use to throw the custom exception?
Choose 2 answers

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

  • Throw new RecordNotFoundException(‘Problem Occured’);

  • Throw new RecordNotFoundException();

  • Throw RecordNotFoundException(‘Problem Occured’);

  • Throw RecordNotFoundException();

Explicación

Pregunta 36 de 148

1

When creating unit tests in Apex, which statement is accurate?

Selecciona una de las siguientes respuestas posibles:

  • Unit tests with multiple methods result in all methods falling every time one method fails.

  • Increased test coverage requires large test classes with many lines of code in one method.

  • Triggers do not require any unit tests in order to deploy them from sandbox to production.

  • System Assert statements that do not increase code coverage contribute important feedback in unit tests.

Explicación

Pregunta 37 de 148

1

{
Public String getStringMethod1(){
Return myString;
}
Public String getStringMethod2(){
If (myString == null)
myString = ‘Method2’;
return myString;
}
}
<apex:page controller=”myController”>
{!myString}, {!StringMethod1}, {!StringMethod2}, {!myString}
</apex:page>
What does the user see when accessing the custom page?

Selecciona una de las siguientes respuestas posibles:

  • getMyString, , ,

  • , , Method2,

  • , , Method2, getMyString

  • getMyString, , Method2, getMyString

Explicación

Pregunta 38 de 148

1

What is a valid Apex statement ?

Selecciona una de las siguientes respuestas posibles:

  • Map conMap = [Select Name from Contact];

  • Account[] acctList = new List<Account>{new Account()};

  • Integer w, x, y = 123, z = ‘abc’;

  • Private static constant Double rate = 7.75;

Explicación

Pregunta 39 de 148

1

A developer has a single custom controller class that works with a VF Wizard to support creating and editing multiple sObjects. The wizard accepts data from user inputs across multiple VF pages and from a parameter on the initial URL. Which statement is necessary inside the unit test for the custom controller?

Selecciona una de las siguientes respuestas posibles:

  • Public ExtendController(ApexPages.StandardController cntrl){}

  • ApexPages.currentPage().getParameters().put(‘Input’, ‘TestValue’);

  • Test.setCurrentPage(pageRef);

  • String nextPage = controller.save().getUrl();

Explicación

Pregunta 40 de 148

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 VF 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 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 the recordType values available for Case.

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

Explicación

Pregunta 41 de 148

1

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 Postion__c is updated, the Status__c field on Application__c needs to be populated automatically with the same value, and execute a workflow rule on Application__c.
How can a developer accomplish this?

Selecciona una de las siguientes respuestas posibles:

  • By changing Application__c.Status__c into a roll-up summary field.

  • By changing Application__c.Status__c into a formula field.

  • By using an Apex trigger with a DML operation.

  • By configuring a cross-object field update with a workflow.

Explicación

Pregunta 42 de 148

1

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?

Selecciona una de las siguientes respuestas posibles:

  • Before Trigger execution.

  • After Committing to database.

  • Before Committing to database.

  • After Trigger execution.

Explicación

Pregunta 43 de 148

1

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

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

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

  • StandardController system methods that are referenced by VF.

  • Custom Apex and Javascript code that is used to manipulate data.

  • A static resource that contains CSS and images.

Explicación

Pregunta 44 de 148

1

A developer needs to provide a VF 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 VF page to modify.

  • Create a new VF page and an Apex controller to provide Product data entry.

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

  • Download an Unmanaged Package from the AppExchange that provides a custom vf PAGE TO MODIFY.

Explicación

Pregunta 45 de 148

1

A developer writes before insert trigger.
How can the developer access the incoming records in the trigger body?

Selecciona una de las siguientes respuestas posibles:

  • By accessing the Trigger.new context variable.

  • By accessing the Trigger.newRecords context variable.

  • By accessing the Trigger.newMap context variable.

  • By accessing th Tripper.newList context variable.

Explicación

Pregunta 46 de 148

1

A developer in a salesforce org with 100 Accounts executes code using the Developer Console:

Account myAccount = new Account(Name = ‘MyAccount’);
Insert myAccount;

For(Integer x = 0; x < 150; x++)
{
Account newAccount = new Account(Name = ‘MyAccount’ + x);
Try{
Insert newAccount;
}catch(Exception ex){
System.Debug(ex);
}
}
Insert new Account(Name = ‘myAccount’);

How many accounts are in the org after this code is run?

Selecciona una de las siguientes respuestas posibles:

  • 101

  • 100

  • 102

  • 252

Explicación

Pregunta 47 de 148

1

The Review__c object has a lookup relationship upto the Job_Application__c object. The Job_Application__c object has a master-detail relationship up to the Position__c object.The relationship field names are based on the auto-populated defaults.
What is the recommended way to display field data from the related Review__c records on a VF page for a single Position record?

Selecciona una de las siguientes respuestas posibles:

  • Utilize the standard Controller for Position__c and cross-object Formula fields on the Job_Application__c object to display Review__c data.

  • Utilize the standard Controller for Position__c and a Controller Extension to query for Review__c data.

  • Utilize the standard Controller for Position__c and cross-object Formula fields on the Review__c object to display Review__c data.

Explicación

Pregunta 48 de 148

1

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

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

  • Roll back deployments.

  • Run Apex tests.

  • Download debug logs.

  • Edit metadata components.

Explicación

Pregunta 49 de 148

1

Which code segment can be used to control when the dowork() method is called?

Selecciona una de las siguientes respuestas posibles:

  • for(triggerIsRunning t : trigger.new){
    dowork();
    }

  • If(trigger.IsRunning){
    dowork();
    }

  • for (trigger.IsInsert t : trigger.new) {
    dowork();
    }

  • If (trigger.IsInsert){
    dowork();
    }

Explicación

Pregunta 50 de 148

1

When would a developer use a custom controller instead of a controller extension?
Choose 2 answers

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

  • When a VF page needs to replace the functionality of a standard controller.

  • When a VF page does not reference a single primary object.

  • When a VF page should not enforce permissions or field–level security.

  • When a VF page needs to add new actions to a standard controller.

Explicación

Pregunta 51 de 148

1

What is a valid statement about Apex classes and interfaces?
Choose 2 answers

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

  • The default modifier for a class is private.

  • Exception classes must end with the word exception.

  • A class can have multiple levels of inner classes.

  • The default modifier for an interface is private.

Explicación

Pregunta 52 de 148

1

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.Subject);
childCases.add(child);
}
Insert childCase;

What happens after the code block executes?

Selecciona una de las siguientes respuestas posibles:

  • Multiple child cases are created for each parent case in Trigger.new.

  • A child case is created for each parent case in Trigger.new.

  • The trigger enters an infinite loop and eventually fails.

  • The trigger fails if the subject field on the parent is blank.

Explicación

Pregunta 53 de 148

1

A Developer wants to create a custom object to track Custom Invoices.
How should INVOICES AND Accounts be related to ensure that all Invoices are visible to everyone with the access to an account?

Selecciona una de las siguientes respuestas posibles:

  • The account should have a Lookup relationship to the Invoice.

  • The Invoice should have a Master-Detail relationship to the Account.

  • The Account should have a Master-Detail relationship to the Invoice.

  • The Invoice should have a Lookup relationship to the Account.

Explicación

Pregunta 54 de 148

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:

  • Sandbox to production.

  • Developer edition to sandbox.

  • Developer edition to production.

  • Sandbox to sandbox.

Explicación

Pregunta 55 de 148

1

A developer needs to create records for the object Property__c. The developer creates the following code block:

List<Property__c> propertiesToCreate = helperClass.createPrperties();
try {
03.
} catch (Exception exp) {
// Exception handling
}

Which line of code would the developer insert at line 03 to ensure that at least some records are created, even if a few records have errors and fail to be created?

Selecciona una de las siguientes respuestas posibles:

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

  • Insert propertiesToCreate;

  • Database.insert(propertiesToCreate, false);

  • Database.insert(propertiesToCreate);

Explicación

Pregunta 56 de 148

1

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

Selecciona una de las siguientes respuestas posibles:

  • For(init_stmt; exit_condition;increment_stmt) { ... }

  • Do { ... } While (Condition)

  • For (variable : list_or_set) { ... }

  • While (Condition) { ... }

Explicación

Pregunta 57 de 148

1

What is the result when a VF page calls an Apex controller, which calls another Apex Controller, which calls another apex class, which then results in hitting a governor limit?

Selecciona una de las siguientes respuestas posibles:

  • Any changes up to the error are saved.

  • Any changes up the error are rolled back.

  • All changes before a savepoint are saved.

  • All changes are saved in the first Apex class.

Explicación

Pregunta 58 de 148

1

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 ProductTax = ProductCost * XXXXXXXXXXXX;
}

To calculate the ProductTax, which code segment would a developer insert at the XXXXXXXXXXX to make the value of the class variable SalesTax accessible within the trigger?

Selecciona una de las siguientes respuestas posibles:

  • SalesTax

  • PayTax.SalesTax

  • PaymentTax.SalesTax

  • OpportunityLineItemTrigger.SalesTax.

Explicación

Pregunta 59 de 148

1

On a VF page with a custom controller, how should a developer retrieve a record by using an ID parameter that is passed on the URL?

Selecciona una de las siguientes respuestas posibles:

  • Use the constructor method for the controller.

  • Use the $Action.View method in VF page.

  • Create a new PageReference object with the Id.

  • Use the <apex:detail> tag in VF page.

Explicación

Pregunta 60 de 148

1

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?

Selecciona una de las siguientes respuestas posibles:

  • After Commiting to database.

  • Before Commiting to database.

  • Before Trigger execution

  • After Trigger Execution.

Explicación

Pregunta 61 de 148

1

On a visualforce page with a custom controller, how should a developer retrieve a record by using an ID parameter that is passed on the URL?

Selecciona una de las siguientes respuestas posibles:

  • Use the Constructor method for the controller.

  • Use the $Action.view method in the visualforce page.

  • Create a new Page reference object with the id.

  • Use the <apex:detail > tag in the visualforce page.

Explicación

Pregunta 62 de 148

1

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?

Selecciona una de las siguientes respuestas posibles:

  • After committing to database.

  • Before committing to database.

  • Before Trigger execution.

  • After Trigger execution.

Explicación

Pregunta 63 de 148

1

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 ApexMessage.message() to display an error message after the number of DML statements Is exceed.

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

  • By using PageReference.setRedirect() to redirect the user to an custom visualforce page before the number of BML statements is exceeded.

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

Explicación

Pregunta 64 de 148

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

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

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

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

Explicación

Pregunta 65 de 148

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:

  • Create a new visualforce page and an apex controller to provide product data entry.

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

  • Download a Managed package from the AppExchange that provides accustom visualforce page to modify.

Explicación

Pregunta 66 de 148

1

Which declarative method helps ensure quality data?
Choose 3 answers.

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

  • Exception handling.

  • workflow alerts.

  • Validation rules

  • Lookup filters

  • Page layouts

Explicación

Pregunta 67 de 148

1

What is an accurate constructor for custom controller named “MYController”?

Selecciona una de las siguientes respuestas posibles:

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

  • public MyController(Sobject obj){
    account = (Account) obj;
    }

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

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

Explicación

Pregunta 68 de 148

1

A company wants a recruiting app that models candidates and interviews; display 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 developer do to accomplish this task?
Choose 2 answers.

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

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

  • Create a lookup relationship between the candidate and interview objects.

  • Create a trigger on the interview object that updates a fields on the candidate object.

Explicación

Pregunta 69 de 148

1

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

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

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

  • Using synchronous callouts to call external systems.

Explicación

Pregunta 70 de 148

1

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

Selecciona una de las siguientes respuestas posibles:

  • ApexPages.StandardSetController controller = new
    ApexPages.StandardSetController([SELECT id FROM Account LIMIT 1]);

  • ApexPages.StandardController controller = new
    ApexPages.StandardController(Database.getQueryLocator(‘SELECT id FROM Account LIMIT 1’));

  • ApexPages.StandardController controller = new
    ApexPages.StandardController([SELECT id FROM Account LIMIT 1]);

  • ApexPages.StandardSetController controller = new
    ApexPages.StandardSetController(Database.getQueryLocator(‘SELECT id FROM Account LIMIT 1’));

Explicación

Pregunta 71 de 148

1

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

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

  • A Boolean

  • An integer

  • A list of sObjects

  • A single sObject

  • A String

Explicación

Pregunta 72 de 148

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:

  • Update the original object using an update DML operation.

  • Delete the original object using a delete DML operation.

  • Change field values using the Trigger.new context variable.

  • Display a custom error message in the application interface.

Explicación

Pregunta 73 de 148

1

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

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

  • The filters link by the monitored user’s name within the web UI

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

  • On the monitored user’s Name.

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

Explicación

Pregunta 74 de 148

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:

  • B

  • C

  • D

  • A

Explicación

Pregunta 75 de 148

1

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

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

  • To create components for dashboards and layouts

  • To deploy components between two organizations.

  • To generate a PDF document with application data.

  • To modify the page Layout settings for a custom object.

Explicación

Pregunta 76 de 148

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 Lookup Relationship on the custom object can prevent the deletion of std object.

  • The Lookup Relationship cannot be marked as required on the page layout for the custom object.

  • The custom object will be deleted when the referenced std object is deleted.

  • The custom object inherits security from the referenced std object.

Explicación

Pregunta 77 de 148

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 comments field.

  • Create a formula field.

  • Create a validation rule.

  • Create a required VF component.

Explicación

Pregunta 78 de 148

1

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?

Selecciona una de las siguientes respuestas posibles:

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

  • Create a formula field on the account object that performs a MAX on the opportunity close date field.

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

  • Create a trigger on the Account object that queries the close date of the most recent Opportunities.

Explicación

Pregunta 79 de 148

1

A developer needs to create records for the object Property__c. The developer creates the following code block :

List<Property_c> propertyToCreate = helperClass.createProperties();
Try {

}catch(Exception exp) {
// Exception HAndling
}
Which line of code would the developer insert at line 03 to ensure that at least some records are created, even if a few records have errors and fails to be created?

Selecciona una de las siguientes respuestas posibles:

  • Database.insert(propertyToCreate);

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

  • Insert propertyToCreate;

  • Database.insert(propertyToCreate, false);

Explicación

Pregunta 80 de 148

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 master side of a master – detail relationship.

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

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

Explicación

Pregunta 81 de 148

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:

  • Sandbox to production.

  • Developer edition to sandbox.

  • Sandbox to sandbox.

  • Developer edition to production.

Explicación

Pregunta 82 de 148

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 SOQL on the visualforce page to query for data from the parent record.

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

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

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

Explicación

Pregunta 83 de 148

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 Controller Extension.

  • In a Custom Controller.

  • In a Standard Controller.

  • In a Standard Extension.

Explicación

Pregunta 84 de 148

1

A developer wants to list all of the Tasks for each Account on the Account detail page.
When a Task created for a contact, what does the developer need to do to display the task on the related account record?

Selecciona una de las siguientes respuestas posibles:

  • Create an Account formula field that displays the task information.

  • Nothing The task Is automatically displayed on the account page.

  • Create a workflow rule to relate the task to the contact’s account.

  • Nothing. The task cannot be related to an account and a contact.

Explicación

Pregunta 85 de 148

1

What is a capability of a StandaradSetController?
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 mass updates of records.

  • It allows page to perform pagination with large record sets.

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

Explicación

Pregunta 86 de 148

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(‘Nullpointer Exception’);
}Catch(Exception e)
{
System.debug(‘generic Exception’);
}
What message would be logged?

Selecciona una de las siguientes respuestas posibles:

  • No message is logged.

  • Generic Exception

  • List Exception

  • NullPointer Exception

Explicación

Pregunta 87 de 148

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 only between related organizations.

  • They require a deployment connection.

  • They use an all or none deployment model.

  • They can be used to transfer Contact records.

  • They can be used to deploy custom settings data.

Explicación

Pregunta 88 de 148

1

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?

Selecciona una de las siguientes respuestas posibles:

  • Remove all the references in the code and then the field will be removed from schema builder.

  • Remove all references from the code and then delete the custom field from schema builder.

  • Mark the field for deletion in schema builder and then delete it from the declarative UI.

  • Delete the field from schema builder and then all references in the code will be removed.

Explicación

Pregunta 89 de 148

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.

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

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

Explicación

Pregunta 90 de 148

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:

  • An apex trigger on the Account object.

  • A process Builder on the Account object.

  • A cross-Object formula field on the account object.

  • A workflow rule on the account object.

Explicación

Pregunta 91 de 148

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 TestVisible attribute to the Apex class.

  • Add the SeeAllData attribute to the test methods.

  • Add the SeeAllData attribute to the test class.

  • Add the TestVisible attribute to the Apex methods.

Explicación

Pregunta 92 de 148

1

Which scenario is invalid for execution by unit tests?

Selecciona una de las siguientes respuestas posibles:

  • Execution methods for negative test scenarios.

  • Execution methods as different users.

  • Loading the data in place of user input for Flows.

  • Loading the Standard pricebook ID using a system method.

Explicación

Pregunta 93 de 148

1

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()+’,’+Limits.getLimitDMLStatements()));
What is the result ?

Selecciona una de las siguientes respuestas posibles:

  • 11,150

  • 150,2

  • 150,11

  • 2,150

Explicación

Pregunta 94 de 148

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 Account using Case records.

  • On Account using Opportunity records.

  • On Opportunity using Opportunity Product records.

  • On Quote using Order records.

  • On campaign using Campaign member records.

Explicación

Pregunta 95 de 148

1

A developer has the 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”?

Selecciona una de las siguientes respuestas posibles:

  • A contact with empty values.

  • A contact initialized to null.

  • An empty List of Contacts.

  • An error that no rows are found.

Explicación

Pregunta 96 de 148

1

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

Selecciona una de las siguientes respuestas posibles:

  • Polyglot persistence provides support for a global, multilingual user base in multiple orgs on multiple instances.

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

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

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

Explicación

Pregunta 97 de 148

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:

  • Visualforce controller actions

  • Third party web service code

  • Third party Javascript code

  • Javascript controller action.

Explicación

Pregunta 98 de 148

1

What is a capability of formula fields?
Choose 3 answers.

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

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

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

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

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

  • Determine if datatime field has passed using the NOW function.

Explicación

Pregunta 99 de 148

1

A developer has a block of code that omits any statements tha indicte whether the code block should execute or without sharing.
What will automatically obey the organization-wise defaults and sharing settings for the user who excecutes the function in salesforce organization?

Selecciona una de las siguientes respuestas posibles:

  • Anonymous Blocks

  • Apex Controllers

  • HTTP Callouts

  • Apex Triggers

Explicación

Pregunta 100 de 148

1

In a Single record, a user selects multiple value 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 by a comma.

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

  • As a String with each value separated by a semicolon.

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

Explicación

Pregunta 101 de 148

1

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

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

  • Edit metadata components.

  • Run Apex tests.

  • Download debug Logs.

  • Roll back deployments.

Explicación

Pregunta 102 de 148

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 user’s profile and display this org’s visualforce page?

Selecciona una de las siguientes respuestas posibles:

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

  • {!$Setup.Url_Settings__c.URL__c}

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

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

Explicación

Pregunta 103 de 148

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:

  • 3

  • 5

  • 1

  • 7

Explicación

Pregunta 104 de 148

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:

  • Developer Console.

  • ANT Migration Tool.

  • Salesforce UI Apex Test Execution

  • Workbench Metadata Retrieval.

Explicación

Pregunta 105 de 148

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());

  • Update contactList;

  • List<Contact> contacts = [select is, salutation,firstname……]

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

Explicación

Pregunta 106 de 148

1

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

Selecciona una de las siguientes respuestas posibles:

  • List objList = Test.loaddata(Account.sObjectType,’myResource’);

  • Pricebook pb = new pricebook();

  • Id pricebookid = Test.getStandardPricebookid();

  • IsTest(SeeAllData=false)

Explicación

Pregunta 107 de 148

1

How can a developer determine, from the DescribeSobjectResult,if the current user will be able to create record an object in apex?

Selecciona una de las siguientes respuestas posibles:

  • By using the has Access() method.

  • By using the isCreatable() method.

  • By using the isInsertable() method.

  • By using the canCreate() method.

Explicación

Pregunta 108 de 148

1

Why would a developer use Test.startTest() and Test.stopTest()?

Selecciona una de las siguientes respuestas posibles:

  • To start and stop anonymous block execution when executing anonymouns apex code.

  • To indicate test code so that it does not impact apex line count governor limits.

  • To create an additional set of governor limits during the execution of a single test class

  • To avoid apex code coverage requirement for the code between these lines.

Explicación

Pregunta 109 de 148

1

A developer need 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 an unmanaged package from the appexchange that provides a custom visualforce page to modify.

  • Copy the standard page and then make n new visualforce page for product data entry.

  • Create a new visualforce page and an apex controller to provide product data entry.

  • Download a managed package from the App Exchange that provides a custom visualforce page to modify.

Explicación

Pregunta 110 de 148

1

What is a valid statement about Apex classes and interfaces?
Choose 2 answers

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

  • Exception classes must end with the word exception.

  • A class can have multiple levels of inner classes.

  • The default modifier for a class is private.

  • The default modifier for an interface is private.

Explicación

Pregunta 111 de 148

1

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?

Selecciona una de las siguientes respuestas posibles:

  • Lookup

  • Parent-Child

  • Master-Detail

  • One to Many

Explicación

Pregunta 112 de 148

1

A candidate must apply to multiple jobs at the company Universal containers by submitting a single applications per job posting. Once an application is submitted for a job posting, that application cannot be modified to be resubmitted to a different job posting.
What can the administrator do to associate an application with each job posting in the schema for the organization?

Selecciona una de las siguientes respuestas posibles:

  • Create a master-detail relationship in the application custom object to the job postings custom object.

  • Create a lookup relationship on both objects to a junction object called posting applications.

  • Create a master detail relationship in the job postings custom object to the application custom object.

  • Create a lookup relationship in the applications custom object to the job postings custom object.

Explicación

Pregunta 113 de 148

1

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 is prior to converting a Lead?

Selecciona una de las siguientes respuestas posibles:

  • Process builder

  • Validation Rule

  • Formula field

  • Workflow rule.

Explicación

Pregunta 114 de 148

1

What is a correct pattern to follow when programming in Apex on multi-tenant platform?

Selecciona una de las siguientes respuestas posibles:

  • DML is performed on one record at a time to avoid possible data currency issues.

  • Queries select the fewest fields and records possible to avoid exceeding governor limits.

  • Apex code is created in a separate environment from schema to reduce deployment errors.

  • Apex classes use the “with sharing” keyword to prevent access from other server tenants.

Explicación

Pregunta 115 de 148

1

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

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

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

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

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

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

Explicación

Pregunta 116 de 148

1

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?

Selecciona una de las siguientes respuestas posibles:

  • Open the logs tab in the developer console.

  • Select the override log triggers checkbox for the trigger.

  • Add the user name in the log Inspector.

  • Open the progress tab in the developer console.

Explicación

Pregunta 117 de 148

1

Where can a developer create managed package?

Selecciona una de las siguientes respuestas posibles:

  • Developer Edition.

  • Developer Sandbox.

  • Enterprise.

  • Unlimited.

Explicación

Pregunta 118 de 148

1

Where can a developer call external javascript?
Choose 2

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

  • <link>

  • <apex:define>

  • <apex:includeScript>

  • <script>

Explicación

Pregunta 119 de 148

1

What is the advantage of Salesforce Lightning?

Selecciona una de las siguientes respuestas posibles:

  • Pre defined components to give Standard Look and Feel.

  • Uses service side for better handling.

Explicación

Pregunta 120 de 148

1

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

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 121 de 148

1

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

Selecciona una de las siguientes respuestas posibles:

  • Apex

  • Visualforce

  • HTML

  • JavaScript

Explicación

Pregunta 122 de 148

1

A Developer creates a method in Apex class and needs to ensure that errors are handled properly. What would the developer use?
Choose 3

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 123 de 148

1

What is valid in where clause of a SOQL query
Choose 2

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

  • Geolocation field

  • Encrypted field

  • Aggregate function

  • Alias notation

Explicación

Pregunta 124 de 148

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 : Std and Custom Obj ; View : VF Page ; Controller : s-Controls

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

  • Model : Std and Custom Obj ; View : VF Page ; Controller : Apex Code

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

Explicación

Pregunta 125 de 148

1

How would a developer determine if a CustomObject__c record has been manually shared with the current user in Apex?

Selecciona una de las siguientes respuestas posibles:

  • By querying CustomObject__share

  • By querying the role hierarchy

  • By calling the isShared() method for the record

  • By calling the profile settings of the current user

Explicación

Pregunta 126 de 148

1

A developer has completed work in the sandbox and is ready to send it to a related org, what deployment tool should be used?

Selecciona una de las siguientes respuestas posibles:

  • Change Sets

  • Force.com IDE

  • Unmanaged Packages

  • Force.com Migration Tool

Explicación

Pregunta 127 de 148

1

What is the name of the standard relationship from Account down to Contact?

Selecciona una de las siguientes respuestas posibles:

  • Contact

  • Accounts

  • Account

  • Contacts

Explicación

Pregunta 128 de 148

1

What is a characteristic of the Lightning Component framework?
Choose 2 answers

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

  • It includes responsive components

  • It works with existing Visualforce pages

  • It uses XML as its data format

  • It has an event-driven architecture

Explicación

Pregunta 129 de 148

1

Identify the field update limitations.
Choose 3

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

  • Read-only fields like formula or auto-number fields aren't available for field updates.

  • In a batch update, workflow is retriggered on all entities where there is a change

  • The results of a field update can't trigger additional rules such as validation, assignment, auto-response, or escalation rules.

  • Field updates that are executed as approval actions don't trigger workflow rules.

Explicación

Pregunta 130 de 148

1

Identify the standard Lightning components.
Choose 3

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

  • Visualforce Page

  • Cross Incorrect answers

  • List View

  • Rich Text

  • Dashboards

Explicación

Pregunta 131 de 148

1

When a user creates a record by using an object-specific create action, what feed item for that record appears?
Choose 3

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

  • As the first entry in the feed for the new record

  • In the feed for the record on which the new record was created

  • In the user profile feed for all users who can view the record

  • In the Chatter feed of the first user who follows the record on which the record was created

  • In the Chatter feed of the user who created the record

Explicación

Pregunta 132 de 148

1

Which permission is required to install and uninstall packages from Salesforce AppExchange?

Selecciona una de las siguientes respuestas posibles:

  • Download AppExchange Packages

  • Upload AppExchange Packages

  • Manage Package Licenses

  • Create AppExchange Packages

Explicación

Pregunta 133 de 148

1

What is a valid Apex statement?

Selecciona una de las siguientes respuestas posibles:

  • Map conMap = (SELECT Name FROM Contact);

  • Integer w, x, y = 123, z = 'abc',

  • Account[] acctList = new List<Account›{new Account()}

  • private static constant Double rate = 775;

Explicación

Pregunta 134 de 148

1

How can a developer refer to, or instantiate, a PageReference in Apex?
Choose 2 answers

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

  • By using the Page object and a visualforce page name

  • By using the ApexPages.Page() method with a visualforce page name

  • By using a pageReference with a partial or full URL

  • By using the PageReference.page() method with a partial or full URL

Explicación

Pregunta 135 de 148

1

What is a lightning page?

Selecciona una de las siguientes respuestas posibles:

  • A page you can access via a customer community.

  • The new name for a Salesforce page layout.

  • A custom layout for creating pages in Salesforce1.

  • A compact, configurable, and reusable element.

Explicación

Pregunta 136 de 148

1

In order to create an App Launcher component in lightning what must an admin do?

Selecciona una de las siguientes respuestas posibles:

  • Contact Salesforce to have the component activated for the Lightning App Builder.

  • Navigate to Setup-Customize-User Interface to enable the component for the Lightning App Builder.

  • Purchase a license for the Lightning App Builder.

  • Join the pilot Lightning App Builder team

Explicación

Pregunta 137 de 148

1

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 way to display field data from the related Review _C records a Visualforce page for a single Position_c record?

Selecciona una de las siguientes respuestas posibles:

  • Utilize the Standard Controller for Position_c and cross-object Formula Fields on the Review_c object to display Review_c data.

  • Utilize the Standard Controller for Position_c and cross-object Formula Fields on the Job_Application c object to display Review_c data.

  • Utilize the Standard Controller for Position_c and a Controller Extension to query for Review _ C data.

  • Utilize the Standard Controller for Position_c and expression syntax in the Page to display related Review_c through me Job_Applicacion_c inject.

Explicación

Pregunta 138 de 148

1

Which API cannot be used to create the data model?

Selecciona una de las siguientes respuestas posibles:

  • Force.com Single Sign-on API

  • AJAX Tookit for Force.com

  • Force.com Metadata API

  • Force.com API

Explicación

Pregunta 139 de 148

1

To enable the Publisher Actions area on Page Layouts, navigate to:

Selecciona una de las siguientes respuestas posibles:

  • Setup | Customize | Feeds | Settings

  • Setup | Customize | Chatter | Settings

  • Setup | Customize | Actions | Settings

  • Setup | Customize | <Objects> | Settings

Explicación

Pregunta 140 de 148

1

What is an accurate statement about with sharing keyword?
Choose 2 answers:

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

  • Both inner and outer classes can be declared as with sharing

  • Either inner or outer classes can be declared as with sharing, but not both

  • Inner classes inherit the sharing setting from the container class

  • Inner classes do not inherit the sharing setting from the container class

Explicación

Pregunta 141 de 148

1

What is true when a field update is set to re-evaluate the workflow rule?
Choose three

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

  • In a batch update, workflow is only retriggered on the entities where there is a change.

  • Only workflow rules on the same object as the initial field update will be re-evaluated and triggered.

  • Any workflow rules whose criteria are met as a result of the field update will be ignored.

  • Only workflow rules that didn’t fire before will be retriggered.

  • Cascade of workflow rule re-evaluation and triggering can happen up to ten times after the initial field update that started it.

Explicación

Pregunta 142 de 148

1

Which social networks are available in the Lightning Experience and Salesforce1?

Selecciona una de las siguientes respuestas posibles:

  • Facebook

  • LinkedIn

  • Klout

  • Twitter

Explicación

Pregunta 143 de 148

1

When running an Apex test, which type of Apex syntax in tested code is counted in the code coverage calculation?

Selecciona una de las siguientes respuestas posibles:

  • A blank line.

  • A System.debug() statement.

  • A variable assignment.

  • A comment.

Explicación

Pregunta 144 de 148

1

What is the result when a Visualforce page calls an Apex controller, which calls another Apex class, with then result! Multiple in hitting a governor limit?

Selecciona una de las siguientes respuestas posibles:

  • Any changes up to the error are rolled back.

  • Any changes up to the error are saved.

  • All changes before a savepoint are saved.

  • All changes are saved in the first Apex class.

Explicación

Pregunta 145 de 148

1

You can create global actions to let users create which of the following records?
Choose three

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

  • Event (without invitees)

  • Opportunity

  • Question

  • Chatter Posts

  • Products

  • Users

Explicación

Pregunta 146 de 148

1

Actions on a Lightning Page allow you to do which of the following?

Selecciona una de las siguientes respuestas posibles:

  • Send email and delete or clone records.

  • Send email, create a task, and create or update records.

  • Clone records, add users, and assign permissions.

  • Send email, send outbound messages, and launch a flow.

Explicación

Pregunta 147 de 148

1

When would a developer use a custom controller instead of a controller extension?
Choose 2

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

  • When a Visualforce page needs to replace the functionality of a standard controller.

  • When a Visualforce page should not enforce permissions or field -level security.

  • When a Visualforce page does not reference a single primary object.

  • When a Visualforce page needs to add new actions to a standard controller.

Explicación

Pregunta 148 de 148

1

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
Which statement is unnecessary inside the unit test for the custom controller?

Selecciona una de las siguientes respuestas posibles:

  • public ExtendedController(ApexPages.StandardController cntrl) { )

  • ApexPages.currentPage().getParameters() put(input', 'TestValue).

  • Test.setCurrentPage(pageRef),

  • String nextPage = controller.save().getUrl();

Explicación