Question 116
Users report that a button on a custom Lightning Web Component is not working. However, there are no other details provided. What should the developer use to ensure error messages are properly displayed?
Question 117
What is a consideration when testing batch Apex? (Choose two.)
Question 118
A developer wrote an Apex class to make several callouts to an external system.
If the URLs used in these callouts will change often, which feature should the developer use to minimize changes needed to the Apex class?
If the URLs used in these callouts will change often, which feature should the developer use to minimize changes needed to the Apex class?
Question 119
A company requires an external system to be notified whenever an account is updated.
trigger AccountTrigger on Account (after update){ for (Account
updatedAccount:Trigger.new){ AccountTriggerHelper.notinyxternalSystem
(updatedAccount.id); } } public class AccountTriggerHelperfuture(callout=true)
{ public static void notinyxternalSystem(Id accountId){ Account acc = [Select id, name from Account where accountId = :accountId]; http objectHttp h = new Http(); HttpRequest req = new HttpRequest(); req.setEndpoint('http://example.org/ restService'); req.setMethod('POST'); req.setBody(JSON.serialize(acc)); HttpResponse res = h.send(req); } } What LimitException could the following code trigger?
trigger AccountTrigger on Account (after update){ for (Account
updatedAccount:Trigger.new){ AccountTriggerHelper.notinyxternalSystem
(updatedAccount.id); } } public class AccountTriggerHelperfuture(callout=true)
{ public static void notinyxternalSystem(Id accountId){ Account acc = [Select id, name from Account where accountId = :accountId]; http objectHttp h = new Http(); HttpRequest req = new HttpRequest(); req.setEndpoint('http://example.org/ restService'); req.setMethod('POST'); req.setBody(JSON.serialize(acc)); HttpResponse res = h.send(req); } } What LimitException could the following code trigger?
Question 120
During the order of execution of a Visualforce page GET request, what happens after this step?
Evaluate constructors on controllers and extensions
Evaluate constructors on controllers and extensions