Question 1

A developer created a Visualforce page and custom controller to display the account type field as shown below. Custom controller code: public class customCtrlr{ private Account theAccount; public String actType; public customCtrlr() { theAccount = [SELECT Id, Type FROM Account WHERE Id = :apexPages.currentPage().getParameters().get('id')]; actType = theAccount.Type; } } Visualforce page snippet: The Account Type is {!actType} The value of the account type field is not being displayed correctly on the page. Assuming the custom controller is property referenced on the Visualforce page, what should the developer do to correct the problem?
  • Question 2

    Which code in a Visualforce page and/or controller might present a security vulnerability?
  • Question 3

    What are three ways for a developer to execute tests in an org? Choose 3.
  • Question 4

    A developer encounters APEX heap limit errors in a trigger.
    Which two methods should the developer use to avoid this error? (Choose two.)
  • Question 5

    What is true of a partial sandbox that is not true of a full sandbox? Choose 2 answers