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 cannot be exceeded due to the asynchronaus nature of the transaction.
C. The Apex governor limits will use the asynchronous limit levels.
D. The Apex governor limits are omitted while calling the constructor of the Apex class.
Which two events need to happen when deploying to a production org? Choose 2 answers
A. All custom objects must have visibility set to a value other than in Development.
B. All Apex code must have at least 75% test coverage.
C. All triggers must have some test coverage
D. All Visual flows must have at least 1% test coverage.
A developer is alerted to an issue with a custom Apex trigger that is causing records to be duplicated. What is the most appropriate debugging approach to troubleshoot the issue?
A. Review the Historical Event logs to identify the source of the issue.
B. Add system.debug statements to the code to track the execution flow and identify the issue.
C. Use the Apex Interactive Debugger to step through the code and identify the issue.
D. Disable the trigger in production and test to see if the issue still occurs.
A developer wrote Apex code that calls out to an external system using REST API. How should a developer write the test to prove the code is working as intended?
A. Write a class that implements HTTPcalloutMock.
B. Write a class that extends webserviceloo.
C. Write a class that implements webservicemock.
D. Write a class that extends HTTPcalloutMock.
Where are two locations a developer can look to find information about the status of batch or future methods? Choose 2 answers
A. Developer Console
B. Apex Jobs
C. Paused Flow Interviews component
D. Apex Flex Queue
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 co 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 oil test classes for the Contact
trigger.
D. Use the Open Execute Anonymous feature on the Developer Console to run an "insert
Contact' DML statement.
Cloud Kicks has a multi-screen flow that its call center agents use when handling inbound service desk calls. At one of the steps in the flow, the agents should be presented with a list of order numbers and dates that are retrieved from an external order management system in real time and displayed on the screen. What should a developer use to satisfy this requirement?
A. An outbound message
B. An Apex REST class
C. An Apex controller
D. An invocable method
A development team wants to use a deployment script to automatically deploy to a sandbox during their development cycles. Which two tools can they use to run a script that deploys to a sandbox? Choose 2 answers
A. SFDX CLI
B. Developer Console
C. Change Sets
D. Ant Migration Tool
An Opportunity needs to have an amount rolled up from a custom object that is not in a master-detail relationship. How can this be achieved?
A. Write a trigger on the Opportunity object and use tree sorting to sum the amount for all
related child objects under the Opportunity.
B. Use the Streaming API to create real-time roll-up summaries.
C. Write a trigger on the child object and use an aggregate function to sum the amount for
all related child objects under the Opportunity.
D. Use the Metadata API to create real-time roll-up summaries.
What are three considerations when using the @lnvocableMethod annotation in Apex? Choose 3 answers
A. Only one method using the @invecableMethod annotation can be defined per Apex
class_
B. A method using the @invecableMethod annotation can have multiple input parameters.
C. A method using the @invocablemethod annotation must be declaredas static,
D. GO A method using the @invocablemethod annotation must define a return value.
E. A method using the @invocableMethod annotation can be declared as Public or Global.