CRT-450 Exam Question 21

A developer wrote Apex code that calls out to an external system.
How should a developer write the test to provide test coverage?
  • CRT-450 Exam Question 22

    Which option would a developer use to display the Accounts created in the current week and the number of related Contacts using a debug statement in Apex?
  • CRT-450 Exam Question 23

    What is a valid Apex statement?
  • CRT-450 Exam Question 24

    developer created this Apex trigger that calls MyClass .myStaticMethod: trigger myTrigger on Contact(before insert) ( MyClass.myStaticMethod(trigger.new, trigger.oldMap); } The developer creates a test class with a test method that calls MyClass.mystaticMethod, resulting in 81% overall code coverage. What happens when the developer tries to deploy the trigger and two classes to production, assuming no other code exist?
  • CRT-450 Exam Question 25

    Universal Containers (UC) decided it will not send emails to support personnel directly from Salesforce in the event that an unhandled exception occurs. Instead, UC wants an external system be notified of the error.
    What is the appropriate publish/subscribe logic to meet these requirements?