PDII Exam Question 56
A developer is writing code that requires making callouts to an external web service. Which scenario necessitates that the callout be made in an @future method?
PDII Exam Question 57
A company has code to update a Request and Request Lines and make a callout to their external ERP system's REST endpoint with the updated records.


What should be done to address the problem?


What should be done to address the problem?
PDII Exam Question 58
A company uses a custom-built enterprise resource planning (ERP) system to handle order management. The company wants Sales Reps to know the status of orders so that if a customer calls to ask about their shipment, the Sales Rep can advise the customer about the order's status and tracking number if it is already shipped.
Which two methods can make this ERP order data visible in Salesforce? Choose 2 answers
Which two methods can make this ERP order data visible in Salesforce? Choose 2 answers
PDII Exam Question 59

The test method above tests an Apex trigger that the developer knows will make a lot of queries when a lot of Account are simultaneously updated to be customer.
The test method fails at the Line 20 because of too many SOQL queries
What is the correct way to fix this?

The test method above tests an Apex trigger that the developer knows will make a lot of queries when a lot of Accounts are simultaneously updated to be customers.
The test method fails at the Line 20 because of too many SOQL queries.
What is the correct way to fix this?
PDII Exam Question 60
A developer has working business logic code, but sees the following error in the test class:
You have uncommitted work pending. Please commit or rollback before calling out. What is a possible solution?
You have uncommitted work pending. Please commit or rollback before calling out. What is a possible solution?
