Question 1

Which two statements are true about using the @testSetup annotation in an Apex test class?
Choose 2 answers
  • Question 2

    A developer created a weather app that contains multiple Lightning web components.
    One of the components, called Toggle, has a toggle for Fahrenheit or Celsius units. Another component, called Temperature, displays the current temperature in the unit selected in the Toggle component When a user toggles from Fahrenheit to Celsius or vice versa in the Toggle component, the information must be sent to the Temperature component so the temperature can be converted and displayed.
    What is the recommend way to accomplish this?
  • Question 3


    When the code executes, a DML exception is thrown.
    How should a developer modify the code to ensure exceptions are handled gracefully?
  • Question 4

    Which two statements are true about Getter and Setter methods as they relate to Visualforce?
  • Question 5

    Which two queries can a developer use in a Visualforce controller to protect against SOQL injection vulnerabilities? Choose 2 answers