Question 121

A developer wants to retrieve and deploy metadata, perform simple CSV export of query results, and debug Apex REST calls by viewing JSON responses. Which tool should the developer use?
  • Question 122

    A developer writes the following code: public with sharing class OrderController { public PaqeReference sendOrder() { Order__c order = new Order__c insert order; ExternalOrder externalOrder = new ExternalOrder (order); Http h = new Http(); HttpRequest req = new HttpRequest(); req.setEndpoint('https://www.example.org/v1/orders'); req.setMethod('POST'); req.setBody(JSON.serialize(externalOrder)); HttpResponse res = h.send(req); order = (ExternalOrder)JSON.deserialize(res.getBody(),ExternalOrder.class); } } While testing the code, the developer receives the following error message: System.CalloutException : You have uncommitted work pending What should the developer do? Choose 2 answers
  • Question 123

    A developer is writing unit tests for the following method:

    Which assertion would be used in a negative test case?
  • Question 124


    Consider the above trigger intended to assign the Account to the manager of the Account''s region. Which two changes should a developer make in this trigger to adhere to best practices? Choose 2 answers
  • Question 125

    Which three Visualforce components can be used to initiate Ajax behavior to perform partial page updates? Choose 3 answers