Where are two locations a developer can look to find information about the status of asynchronous or future methods? Choose 2 answers
A. Apex Flex Queue
B. Apex Jobs
C. Paused Flow Interviews component
D. Time-Based Workflow Monitor
What does the Lightning Component framework provide to developers?
A. Extended governor limits for applications
B. Prebuilt component that can be reused.
C. Templates to create custom components.
D. Support for Classic and Lightning UIS.
A developer created a custom order management app that uses an Apex class. The order is represented by an Order object and an Orderltem object that has a master-detail relationship to Order. During order processing, an order may be split into multiple orders. What should a developer do to allow their code to move some existing Orderltem records to a new Order record?
A. Change the master-detail relationship to an external lookup relationship
B. Add without sharing to the Apex class declaration.
C. Create a junction object between Orderltem and Order.
D. Select the Allow reparenting option on the master-detail relationship.
In the Lightning UI, where should a developer look to find information about a Paused Flow Interview?
A. On the Paused Row Interviews related List for a given record
B. In the Paused Interviews section of the Apex Flex Queue
C. In the system debug log by Altering on Paused Row Interview
D. On the Paused Row Interviews component on the Home page
A team of many developers work in their own individual orgs that have the same configuration as the production org. Which type of org is best suited for this scenario?
A. Full Sandbox
B. Developer Edition
C. Partner Developer Edition
D. Developer Sandbox
A developer created a trigger on the Account object and wants to test if the trigger is properly bulklfield. The developer team decided that the trigger should be tested with 200 account records with unique names. What two things should be done to create the test data within the unit test with the least amount of code? Choose 2 answers
A. Use the @isTest(isParallel=true) annotation in the test class.
B. Use Test.loadData to populate data in your test methods.
C. Use the @isTest(seeAllData=true) annotation in the test class.
D. Create a static resource containing test data.
The Job_Application c custom object has a field that is a Master-Detail relationship to the Contact object, where the Contact object is the Master. As part of a feature implementation, a developer needs to retrieve a list containing all Contact records where the related Account Industry is ‘Technology’ while also retrieving the contact’s Job_Application c records. Based on the object’s relationships, what is the most efficient statement to retrieve the list of contacts?
A. [SELECT Id, (SELECT Id FROM Job_Applications_r) FROM Contact WHERE Account.Industry = ‘Technology’];
B. [SELECT Id, (SELECT Id FROM Job_Applications_r) FROM Contact WHERE Accounts.Industry = ‘Technology’];
C. [SELECT Id, (SELECT Id FROM Job_Applications_c) FROM Contact WHERE Accounts.Industry = ‘Technology’];
D. [SELECT Id, (SELECT Id FROM Job_Application_c) FROM Contact WHERE Account.Industry = ‘Technology’];
What are three ways for 2 developer to execute tests in an org? Choose 3 answers
A. Metadata APT
B. Bulk API
C. Setup Menu
D. SalesforceDX
E. Tooling API
A developer writes a trigger on the Account object on the before update event that increments a count field. A workflow rule also increments the count field every time that an Account is created or updated. The field update in the workflow rule is configured to not re- evaluate workflow rules. What is the value of the count field if an Account is inserted with an initial value of zero, assuming no other automation logic is implemented on the Account?
A. 1
B. 3
C. 4
D. 2
A developer wants to mark each Account in a List
A. A for loop, with a switch 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 an if/else statement inside
Page 11 out of 24 Pages |
Previous |