Go Back on CRT-450 Exam
Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99

CRT-450 Practice Test


Page 2 out of 78 Pages

Topic 1 : Exam Pool A

How should a developer create a new custom exception class? 


A.

public class CustomException extends Exception{}


B.

CustomException ex = new (CustomException)Exception();


C.

public class CustomException implements Exception{}


D.

(Exception)CustomException ex = new Exception();





A.
  

public class CustomException extends Exception{}



What are two benefits of the Lightning Component framework? (Choose two.)


A.

It simplifies complexity when building pages, but not applications.


B.

It provides an event-driven architecture for better decoupling between components.


C.

It promotes faster development using out-of-box components that are suitable for desktop and mobile
devices.


D.

It allows faster PDF generation with Lightning components.





B.
  

It provides an event-driven architecture for better decoupling between components.



C.
  

It promotes faster development using out-of-box components that are suitable for desktop and mobile
devices.



What is the result of the debug statements in testMethod3 when you create test data using testSetup in below code?


A.

Account0.Phone=333-8781, Account1.Phone=333-8780


B.

Account0.Phone=888-1515, Account1.Phone=999-2525


C.

Account0.Phone=333-8780, Account1.Phone=333-8781


D.

Account0.Phone=888-1515, Account1.Phone=999-1515





C.
  

Account0.Phone=333-8780, Account1.Phone=333-8781



What is the requirement for a class to be used as a custom Visualforce controller?


A.

Any top-level Apex class that has a constructor that returns a PageReference


B.

Any top-level Apex class that extends a PageReference


C.

Any top-level Apex class that has a default, no-argument constructor


D.

Any top-level Apex class that implements the controller interface





D.
  

Any top-level Apex class that implements the controller interface



A platform developer at Universal Containers needs to create a custom button for the Account object that,
when clicked, will perform a series of calculations and redirect the user to a custom Visualforce page.
Which three attributes need to be defined with values in the <apex:page> tag to accomplish this? (Choose three.)


A.

action


B.

renderAs


C.

standardController


D.

readOnly


E.

extensions





A.
  

action



B.
  

renderAs



C.
  

standardController




Page 2 out of 78 Pages
Previous