Nothing Special   »   [go: up one dir, main page]

3

Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

Set 3

Q1. What are two ways that a controller and extension can be specified for a custom object named
Notice on a Visualforce page?

Choose 2 answers.

A. apex:page standardcontroller=”Notice__c” extensions=”myControllerExtension”


B. apex:page=Notice extends=”myControllerExtension”
C. apex:page controllers=”Notice__c,myControllerExtension”
D. apex:page controller=”Notice__c” extensions=”myControllerExtension”

Q2. A developer wants to invoke an outbound message when a record meets a specific criterion.
Which two features satisfy this use case?

Choose 2 answers

A. Process Builder can be used to check the record criteria and send an outbound message
without Apex code.
B. Flow Builder can be used to check the record criteria and send an outbound message.
C. Next Best Action can be used to check the record criteria and send an outbound message.
D. Approval Process has the capability to check the record criteria and send an outbound
message without Apex code.

Q3. A developer must create a Lightning component that allows user to input Contact record
information to create a Contact record, including a Salary__c custom field.

What should the developer use, along with a lightning-record-edit-form, so that Salary__c field
functions as a currency input and is only viewable and editable by users that have the correct field
level permissions on Salary__c?

A. <lightning-input-currency value="Salary__c">

</lightning-input-currency>

B. <ligthning-input-field field-name="Salary__c">

</lightning-input-field>

C. <lightning-formatted-number value="Salary__c" format-style="currency">

</lightning-formatted-number>

D. <lightning-input type="number" value="Salary__c" formatter="currency">

</lightning-input>

Q4. A developer must troubleshoot to pin point the causes of performance issues when a custom
page loads in their org. Which tool should the developer use to troubleshoot?

A. AppExchange
B. Developer Console
C. Visual Studio Code IDE
D. Setup Menu

Q5. In terms of the MVC paradigm, what are two advantages of implementing the view layer of a
Salesforce application using Lightning Web Component based development over Visualforce?
Choose 2 answers
A. Rich component ecosystem
B. Self-contained and reusable units of an application
C. Server-side run-time debugging
D. Automatic code generation

Q6. A developer writes a single trigger on the Account object on the after insert and after update
events. A workflow rule modifies a field every time an Account is created or updated.

How many times will the trigger fire if a new Account is inserted, assuming no other automation
logic is implemented on the Account?

A. 8
B. 4
C. 1
D. 2

Q7. A developer receives an error when trying to call a global server-side method using the
@remoteAction decorator.

How can the developer resolve the error?

A. Decorate the server-side method with (static=true).


B. Change the function signature to be private static.
C. Decorate the server-side method with (static=false).
D. Add static to the server-side method signature.

Q8. What are two ways a developer can get the status of an enqueued job for a class that
implements the queueable interface?
Choose 2 answers
A. View the Apex Flex Queue
B. View the Apex Jobs Page
C. View the Apex Status Page
D. Query the AsyncApexJob object

Q9. Which two operations can be performed using a formula field?

Choose 2 answers

A. Displaying the last four digits of an encrypted Social Security number


B. Triggering a Process Builder
C. Displaying an Image based on the Opportunity Amount
D. Calculating a score on a Lead based on the information from another field.

Q10. Which Lightning code segment should be written to declare dependencies on a Lightning
component, c:accountList, that is used in a Visualforce page?

A. <aura : application access=”GLOBAL” extends=”ltng:outApp”>


<aura : dependency resource=”c:accountList”/>
</aura:application>
B. <aura : application access=”GLOBAL”>
<aura : dependency resource=”c:accountList”/>
</aura:application>
C. <aura:component access =”GLOBAL” extends=”ltng:outApp”>
<aura:dependency resource=”c:accountList”/>
</aura:component>
D. <aura:component access =”GLOBAL”>
<aura:dependency resource=”c:accountList”/>
</aura:component>

Q11. A developer must provide custom user interfaces when users edit a Contact in either Salesforce
Classic or Lightning Experience. What should the developer use to override the Contact's Edit button
and provide this functionality?

A. A Visualforce page In Salesforce Classic and a Lightning component in Lightning Experience


B. A Lightning component in Salesforce Classic Hassle and a Lightning component in Lightning
Experience
C. A Lightning page in Salesforce Classic and a Visualforce page In Lightning Experience
D. A Visualforce page In Salesforce Classic and a Lightning page In Lightning Experience

Q12. What are the three capabilities of the <ltng:require> tag when loading JavaScript resources In
Aura components?

Choose 3 answers .

A. Loading externally hosted scripts


B. Loading files from Documents
C. Specifying loading order
D. Loading scripts in parallel
E. One-time loading for duplicate scripts

Q13. What is a benefit of developing applications in a multi-tenant environment?

A. Access to predefined computing resources


B. Unlimited processing power and memory
C. Enforced best practices for development
D. Default out-of-the-box configuration

Q14. Assuming that 'name; is a String obtained by an <apex:inputText> tag on a Visualforce page.

Which two SOQL queries performed are safe from SOQL injections? Choose 2 answers

A. String query = 'SELECT Id FROM Account WHERE Name LIKE \''%' +

String.escapeSingleQuotes(name) + '%\'';

List<Account> results = Database.query(query);

B. String query = '%' + name + '%';

List<Account> results = [SELECT Id FROM Account WHERE Name LIKE :query];

C. String query = 'SELECT Id FROM Account WHERE Name LIKE \''%' + name + '%\''; List<Account>
results = Database.query(query);

D. String query = 'SELECT Id FROM Account WHERE Name LIKE \''%' + name.noQuotes() + '%\'';
List<Account> results = Database.query(query);

Q15. Universal Containers has an order system that uses an Order Number to identify an order for
customers and service agents. Order records will be imported into Salesforce.

How should the Order Number field be defined in Salesforce?


A. Direct Lookup
B. Lookup
C. Indirect Lookup
D. Number with External ID

Q16. A Developer wants to get access to the standard price book in the org while writing a test class
that covers an OpportunityLineItem trigger.

Which method allows access to the price book?

A. Use @TestVisibleto allow the test method to see the standard price book.
B. Use @IsTest(SeeAllData=true)and delete the existing standard price book.
C. Use Test.loadData()and a Static Resource to load a standard price book.
D. Use Test.getStandardPricebookId()to get the standard price book ID.

Q17. A developer wants to retrieve the Contacts and Users with the email address ‘dev@uc.com’.

Which SOSL statement should the developer use?

A. FIND Email IN Contact, User FOR {dev2uc.com}


B. FIND {Email = ‘dev@uc.com’} RETURNING Contact (Email), User (Email)
C. FIND {Email = ‘dev@uc.com’} IN Contact, User
D. FIND {dev@uc.com} IN Email Fields RETURNING Contact (Email), User (Email)

Q18. Given the following trigger implementation:

trigger leadTrigger on Lead (before update){

final ID BUSINESS_RECORDTYPEID = '012500000009Qad';

for(Lead thisLead : Trigger.new){

if(thisLead.Company != null && thisLead.RecordTypeId != BUSINESS_RECORDTYPEID){


thisLead.RecordTypeId = BUSINESS_RECORDTYPEID;

The developer receives deployment errors every time a deployment is attempted from Sandbox to
Production.

What should the developer do to ensure a successful deployment?

A. Ensure a record type with an ID of BUSINESS_RECORDTYPEID exists on Production prior to


deployment.
B. Ensure BUSINESS_RECORDTYPEID is pushed as part of the deployment components.
C. Ensure the deployment is validated by a System Admin user on Production.
D. Ensure BUSINESS_RECORDTYPEID is retrieved using Schema.Describe calls.

Q19. Since Aura application events follow the traditional publish-subscribe model, which method is
used to fire an event?

A. registerEvent()
B. emit()
C. fireEvent()
D. fire()
Q20. Universal Containers (UC) wants to lower its shipping cost while making the shipping process
more efficient. The Distribution Officer advises UC to implement global addresses to allow multiple
Accounts to share a default pickup address. The developer is tasked to create the supporting object
and relationship for this business requirement and uses the Setup Menu to create a custom object
called "Global Address".

Which field should the developer add to create the most efficient model that supports the business
need?

A. Add a Lookup field on the Account object to the Global Address object.
B. Add a Master-Detail field on the Global Address object to the Account object.
C. Add a Lookup field on the Global Address object to the Account object.
D. Add a Master-Detail field on the Account object to the Global Address object.

Q21. A custom object Trainer_c has a lookup field to another custom object Gym__c.

Which SOQL query will get the record for the Viridian City Gym and all its trainers?
A. SELECT Id. (SELECT Id FROM Trainers__c) FROM Gym_c WHERE Name = ‘Viridian City Gym’
B. SELECT Id. (SELECT Id FROM Trainers__r) FROM Gym_c WHERE Name = ‘Viridian City Gym’
C. SELECT Id. FROM Trainer__c WHERE Gym__r.Name = ‘Viridian City Gym’
D. SELECT Id. (SELECT Id FROM Trainer__c) FROM Gym_c WHERE Name = ‘Viridian City Gym’

Q22. Which scenario is valid for execution by unit tests?

A. Set the created date of a record using a system method.


B. Generate a Visulaforce PDF with getContentAsPDF().
C. Execute anonymous Apex as a different user.
D. Load data from a Remote site with a callout.

Q23. What is an example of a polymorphic lookup field in Salesforce?

A. The LeadId and ContactId fields on the standard Campaign Member object
B. The WhatId field on the standard Event object
C. A custom field, Link__c, on the standard Contact object that looks up to an Account or a
Campaign
D. The ParentId field on the standard Account object

Q24. Refer to the following code that runs in an Execute Anonymous block:

for(List<Lead> theseLeads : [SELECT LastName, Company, Email FROM Lead LIMIT 20000]) {

for(Lead thisLead : theseLeads){

if(thisLead.Email == null)

thisLead.Email = assignGenericEmail(thisLead.LastName, thisLead.Company);

Database.Update(theseLeads,false);

In an environment where the full result set is returned what is the possible outcome of this code?

A. The transaction will succeed and the first ten thousand records will be committed to the
database.
B. The total number of DML statements issued will be exceeded.
C. The transaction will succeed and the full result set changes will be committed to the
database.
D. The total number of records processed as a result of DML statements will be exceeded.

Q25. A developer must implement a CheckPaymentProcessor class that provides check processing
payment capabilities that adhere to what defined for payments in the PaymentProcessor interface.

public interface PaymentProcessor { void pay(Decimal amount); }

Which is the correct implementation to use the PaymentProcessor interface class?

A. Public class CheckPaymentProcessor extends PaymentProcessor {

public void pay(Decimal amount) {

// functional code here

B. Public class CheckPaymentProcessor extends PaymentProcessor {

public void pay(Decimal amount) ;

C. Public class CheckPaymentProcessor implements PaymentProcessor {

public void pay(Decimal amount) {

// functional code here

D. Public class CheckPaymentProcessor implements PaymentProcessor {

public void pay(Decimal amount);

Q26. What will be the output in the debug log In the event of a QueryException during a call to the
aQuery method In the following example?

class myClass {

class CustomException extends QueryException {}

public static account aQuery() (

Account theAccount;

try {

system.debug('Querying Accounts.');

theAccount - [SELECT Id FROM Account WHERE CreatedDate > TODAY];

catch (CustomException eX) { systen.debug!'Custom Exception.'); .


{ •

catch (QueryExcepcion eX> {

system.debug(Query Exception.');

} .

finally {

system.debug('Done.’); j

return theAccount;

A. Querying Accounts. Query Exception.


B. Querying Accounts. Query Exception. Done.
C. Querying Accounts. Custom Exception.
D. Querying Accounts. Custom Exception. Done

Q27. Universal Containers wants Opportunities to no longer be editable when it reaches the
Closed/Won stage. Which two strategies can a developer use to accomplish this?

A. Use a validation rule.


B. Use a trigger.
C. Use an after-save flow.
D. Use the Process Automation Settings

Q28. Universal Containers (UC) uses a custom object called Vendor. The Vendor custom object has a
Master-Detail relationship with the standard Account object. Based on some internal discussion, the
UC administrator tried to change the Master-Detail relationship to a Lookup relationship but was not
able to do so.
What is a possible reason that this change was not permitted?

A. The Account object is included on a workflow on the Vendor object.


B. The Vendor records have existing values in the Account object.
C. The Vendor object must use a Master-Detail field for reporting.
D. The Account records contain Vendor roll-up summary fields.

Q29. Instead of sending emails to support personnel directly from Salesforce from the finish method
of a batch process, Universal Containers wants to notify an external system in the event that an
unhandled exception occurs.

What is the appropriate publish/subscribe logic to meet this requirement?

A. Publish the error event using the addError() method and have the external system subscribe
to the event using CometD.
B. Publish the error event using the addError() method and write a trigger to subscribe to the
event and notify the external system.
C. Since this only involves sending emails, no publishing is necessary. Have the external system
subscribe to the event channel.
D. Publish the error event using the Eventbus.publish() method and have the external system
subscribe to the event using CometD.
Q30. What are three characteristics of change set deployments?

Choose 3 answers

A. Change sets can only be used between related organizations.


B. Change sets can be used to transfer records.
C. Change sets can deploy custom settings data.
D. Deployment is done in a one-way, single transaction
E. Sending a change set between two orgs requires a deployment connection.

Q31. A Lightning component has a wired property, searchResults, that stores a list of Opportunities.

Which definition of the Apex method, to which the searchReaults property is wired, should be used?

A. @AuraEnabIed(cacheable=true)
public static List<Opportunity> search(String term) { /*implementation*/ }

B. @AuraEnabIed(cacheable=false)
public static List<Opportunity> search(String term) { /*implementation”/ }
C. @AuraEnabIed(cacheable=true)
public List<Opportunity> search(String term) { /*implementation”/ }
D. @AuraEnabIed(cacheable=false)
public List<Opportunity> search(String term) { /*implementation”/ }

Q32. A developer wrote Apex code that calls out to an external system.

How should a developer write the test to provide test coverage?

A. Write a class that implements the HTTPCalloutMock.


B. Write a class that extends WebserviceMock.
C. Write a class that extends HTTPCalloutMock.
D. Write a class that implements WebserviceMock.

Q33. Which exception type cannot be caught?

A. A Custom Exception
B. CalloutException
C. NoAccessException
D. LimitException

Q34. A developer needs to confirm that a Contact trigger works correctly without changing the
organization’s data.
What should the developer do to test the Contact trigger?
A. Use Deploy from the VSCode IDE to deploy an ‘insert Contact’ Apex class.
B. Use the New button on the Salesforce Contacts Tab to create a new Contact record.
C. Use the Test menu on the Developer Console to run all test classes for the Contact trigger.
D. Use the Open Execute Anonymous feature on the Developer Console to run an ‘Insert
Contact’ DML statement
Q35. Which three resources in an Aura Component can contain JavaScript functions?

Choose 3 answers:
A. Helper
B. Style
C. Renderer
D. Design
E. Controller
Q36. If Apex code executes inside the execute() method of an Apex class when implementing the
Batchable interface, which two statements are true regarding governor limits?

Choose 2 answers

A. The Apex governor limits are reset for each iteration of the execute() method.
B. The Apex governor limits might be higher due to the asynchronous nature of the
transaction.
C. The Apex governor limits are omitted while calling the constructor of the Apex class.
D. The Apex governor limits cannot be exceeded due to the asynchronous nature of the
transaction

Q37. Cloud Kicks Fitness, an ISV Salesforce partner, is developing a managed package application.
One of the application modules allows the user to calculate body fat using the Apex class, BodyFat,
and its method, calculateBodyFat(). The product owner wants to ensure this method is accessible by
the consumer of the application when developing customizations outside the ISV's package
namespace.

Which approach should a developer take to ensure calculateBodyFat() is accessible outside the
package namespace?

A. Declare the class and method using the public access modifier.
B. Declare the class and method using the global access modifier.
C. Declare the class as global and use the public access modifier on the method.
D. Declare the class as public and use the global access modifier on the method.

Q38. Which code in a Visualforce page and/or controller might present a security vulnerability?

A. <apex:outputText value=”{!$CurrentPage.parameters.userInput}” />


B. <apex:outputText escape=”false” value=”{!$CurrentPage,parameters,userInput)” />
C. <apex:outputField escape=”false” value=”{!ctrl.userInput}” />
D. <apex:outputField value=” {!ctrl.userInput}” />

Q39. When a user edits the Postal Code on an Account, a custom Account text field named
“Timezone” must be updated based on the values in a PostalCodeToTimezone__c custom object.
How can a developer implement this feature?
A. Build an Account Approval Process.
B. Build a Flow with Flow Builder.
C. Build an Account Assignment Rule.
D. Build a Workflow Rule.

Q40. Which statement should be used to allow some of the records in a list of records to be inserted
if others fail to be inserted?

A. insert records
B. Database.insert(records, true)
C. insert(records, false)
D. Database.insert(records, false)

Q41. Universal Containers (UC) wants to notify an external system, in the event that an unhandled
exception occurs, by publishing a custom event using Apex. What is the appropriate
publish/subscribe logic to meet this requirement?

A. Have the external system subscribe to the event channel, no publishing is necessary.
B. Publish the error event using the Eventbus.publish() method and have the external system
subscribe to the event using CometD.

C. Publish the error event using the addError() method and write a trigger to subscribe to the event
and notify the external system.

D. Publish the error event using the addError() method and have the external system subscribe to
the event using CometD.

Q42. The following Apex method is part of the ContactService class that is called from a trigger:
public static void setBusinessUnitToEMEA(Contact thisContact){ thisContact.Business_Unit__c =
"EMEA" ; update thisContact; } How should the developer modify the code to ensure best practice
are met?
A. Public void setBusinessUnitToEMEA(List<Contact> contatcs){
contacts[0].Business_Unit__c = 'EMEA' ;
update contacts[0];
}

B. Public static void setBusinessUnitToEMEA(Contact thisContact){


List<Contact> contacts = new List<Contact>();
contacts.add(thisContact.Business_Unit__c = 'EMEA');
update contacts;
}

C. Public static void setBusinessUnitToEMEA(List<Contact> contacts){


for(Contact thisContact : contacts){
thisContact.Business_Unit__c = 'EMEA' ;
update contacts[0];
}
}

D. Public static void setBusinessUnitToEMEA(List<Contact> contacts){


for(Contact thisContact : contacts) {
thisContact.Business_Unit__c = 'EMEA' ;
}
update contacts;
}

Q43. What are three ways for a developer to execute tests in an org?

A. Tooling API
B. Bulk API
C. Metadata API
D. Setup Menu
E. SalesforceDX

Q44. How should a custom user interface be provided when a user edits an Account in Lightning
Experience?

A. Override the Account’s Edit button with a Lightning Flow.


B. Override the Account’s Edit button with a Lightning page.
C. Override the Account’s Edit button with a Lightning component.
D. Override the Account’s Edit button with a Lightning Action.
Q45. A developer needs to create a custom interface in Apex.

Which three considerations must the developer keep in mind while developing the Apex interface?

Choose three answers

A. New methods can be added to a public interface within a released package.


B. The Apex class must be declared using the interface keyword.
C. A method defined in an Apex interface cannot have an access modifier.
D. A method implementation can be defined within the Apex interface.
E. The Apex interface class access modifier can be set to private, public or global.

Q46. Which process automation should be used to send an outbound message without using Apex
code?

A. Workflow Rule
B. Flow Builder
C. Strategy Builder
D. Process Builder

Q47. Which action causes a before trigger to fire by default for Accounts?

A. Importing data using the Data Loader and the Bulk API
B. Converting leads to Contact accounts.
C. Renaming or replacing picklists
D. Updating addresses using the Mass Address update tool

Q48. Refer to the following code snippet for an environment has more than 200 Accounts belonging
to the Technology’ industry:

for (Account thisAccount : [SELECT Id, Industry FROM Account LIMIT 150]) {
if(thisAccount.Industry == ‘Technology’) {
thisAccount.Is_Tech_c = true;
}
update thisAccount;
}

When the code execution, which two events occur as a result of the Apex transaction? Choose 2
answers
A. If executed in an asynchronous context, the apex transaction is likely to fall by exceeding
the DML governor limit
B. The Apex transaction succeeds regardless of any uncaught exception and all processed
accounts are updated.
C. The Apex transaction fails with the following message. "SObject row was retrieved via SOQL
without querying the requested field Account.Is.Tech__c”.
D. If executed In a synchronous context, the apex transaction is likely to fall by exceeding the
DHL governor limit.

Q49. Which three operations affect the number of times a trigger can fire?

Choose 3 answers

A. Email messages
B. Workflow Rules
C. Roll-Up Summary fields
D. Lightning Flows
E. Criteria-based Sharing calculations

Q50. What should a developer do to check the code coverage of a class after running all tests?

A. Select and run the class on the Apex Test Execution page in the Developer Console.
B. View the Class Test Percentage tab on the Apex Class list view in Salesforce Setup.
C. View the Code Coverage percentage for the class using the Overall Code Coverage panel in
the Developer Console Tests tab.
D. View the Code Coverage column in the view on the Apex Classes page.

Q51. A developer created a new trigger that inserts a Task when a new Lead is created. After
deploying to production, an outside integration is periodically reporting errors.

Which change should the developer make to ensure the integration is not affected with minimal
impact to business logic?

A. Deactivate the Trigger before the Integration runs.


B. Remove the Apex Class from the Integration User's Profile.
C. Use a Try/Catch block after the insert statement.
D. Use the Database method with allOrNone set to False.

Q52. A developer is tasked to perform a security review of the ContactSearch Apex class that exists
in the system. Within the class, the developer identifies the following method as a security threat:

List<Contact> performSearch(String lastName){

return Database.query(‘Select Id, FirstName, LastName FROM Contact WHERE LastName Like
%’+lastName+’%); }

What are two ways the developer can update the method to prevent a SOQL injection attack?
Choose 2 answers

A. Use variable binding and replace the dynamic query with a static SOQ
B. Use a regular expression on the parameter to remove special characters.
C. Use the escapeSingleQuotes method to sanitize the parameter before its use.
D. Use the @Readonly annotation and the with sharing keyword on the class.

Q53. A PrimaryId__c custom field exists on the Candidate_c custom object. The field is used to store
each candidate’s Id number and is marked as unique in the schema definition.

As part of a data enrichment process, Universal Containers has a CSV file that contains updated data
for all candidates in the system. The file contains each Candidate's primary Id as a data point.
Universal Containers wants to upload this information into Salesforce, while ensuring all data rows
are correctly mapped to a candidate in the system.

Which technique should the developer Implement to streamline the data upload?

A. Upload the CSV Into a custom object related to Candidate__c.


B. Create a before insert trigger to correctly map the records.
C. Create a Process Builder on the Candidate__c object to map the records.
D. Update the PrimaryId__c field definition to mark it as an External id.

Q54. When using SalesforceDX, what does a developer need to enable to create and manage scratch
orgs?

A. Sandbox
B. Production
C. Environment Hub
D. Dev Hub

Q55. A developer created these three Rollup Summary fields in the custom object, Project__c.:

Total_Timesheets__c

Total_Approved_Timesheets__c

Total_Rejected_Timesheet__c

The developer is asked to create a new field that shows the ratio between rejected and approved
timesheets for a given project.

What are two benefits of choosing a formula field instead of an Apex trigger to fulfill the request?

Choose 2 answers

A. A formula field will trigger existing automation when deployed.


B. Using a formula field reduces maintenance overhead.
C. A test class will validate the formula field during deployment.
D. A formula field will calculate the value retroactively for existing records.

Q56. A developer wants to mark each Account In a List<Account> as either Active or Inactive based
on the LastModifiedDate field value being more than 90 days.

Which Apex technique should the developer use?

A. A for loop, with an if-else statement Inside


B. A switch statement, with a for loop Inside
C. An if/else statement, with a for loop inside
D. A for loop, with a switch statement Inside

Q57. An Apex method, getAccounts, that returns a List of Accounts given a search Term, is available
for Lightning Web components to use.

What is the correct definition of a Lightning Web component property that uses the getAccounts
method?

A. @wire(getAccounts, {searchTerm: ‘$searchTerm’ })


accountList;
B. @AuraEnabled (getAccounts, {searchTerm: ‘$searchTerm’ })
accountList;
C. @wire(getAccounts, ‘$SearchTerm’)
accountList;
D. @AuraEnabled(getAccounts, ‘$searchTerm’)
accountList;

Q58. A developer needs to join data received from an integration with an external system with
parent records in Salesforce. The data set does not contain the Salesforce IDs of the parent records,
but it does have a foreign key attribute that can be used to identify the parent. Which action will
allow the developer to relate records in the data model without knowing the Salesforce ID?

A. Create and populate a custom field on the parent object marked as Unique.
B. Create a custom field on the child object of type Lookup.
C. Create a custom field on the child object of type External Relationship.
D. Create and populate a custom field on the parent object marked as an External ID.

Q59. A developer wants to import 500 Opportunity records into a sandbox. Why should the
developer choose to use data Loader instead of Data Import Wizard?
A. Data Import Wizard can not import all 500 records.
B. Data Loader automatically relates Opportunities to Accounts.
C. Data Import Wizard does not support Opportunities.
D. Data Loader runs from the developer's browser.

Q60. A developer needs to implement a custom SOAP Web Service that is used by an external Web
Application. The developer chooses to Include helper methods that are not used by the Web
Application In the Implementation of the Web Service Class.

Which code segment shows the correct declaration of the class and methods?

A. Webservice classWebServiceClass {

private Boolean helperMethod() (/ * implementation…*/)

Webservice static String updateRecords() { /* implementation…/*)

B. Webservice classWebServiceClass {

private Boolean helperMethod() (/ * implementation…*/)

global static String updateRecords() { /* implementation…/*)

C. global class WebServiceClass {

private Boolean helperMethod() (/ * implementation…*/)

global String updateRecords() { /* implementation…/*)

D. global class Webservice classWebServiceClass;

private Boolean helperMethod() (/ * implementation…*/)

webservice static String updateRecords() { /* implementation…/*)

Q61. An Approval Process is defined in the Expense_Item__c object. A business rule dictates that
whenever a user changes the Status to 'Submitted' on an Expense_Report__c record, all the
Expense_Item__c records related to the expense report must enter the approval process
individually.

Which approach should be used to ensure the business requirement is met?

A. Create a Process Builder on Expense_Report__c with an 'Apex' action type to submit all
related Expense_Item__c records when the criteria is met.
B. Create two Process Builders, one on Expense_Report__c to mark the related
Expense_Item__c as submittable and the second on Expense_Item__c to submit the records
for approval.
C. Create a Process Builder on Expense_Report__c with a 'Submit for Approval' action type to
submit all related Expense_Item__c records when the criteria is met.
D. Create a Process Builder on Expense_Report__c to mark the related Expense_Item__c as
submittable and trigger on Expense_item__c to submit the records for approval.
Q62. Which two are phases in the Aura application event propagation framework?

Choose 2 answers

A. Emit
B. Control
C. Default
D. Bubble

You might also like