CRT-450 Exam Questions

Total 392 Questions

Last Updated Exam : 30-Jun-2025

Topic 2 : Exam Pool B

A developer needs to confirm that an Account trigger is working correctly without changing the organization’s data.What would the developer do to test the Account trigger?


A. Use the Test menu on the developer Console to run all test classes for the account trigger.


B. Use the New button on the Salesforce Accounts Tab to create a new Account record.


C. Use the Open Execute Anonymous feature on the Developer Console to run an ‘insert Account’ DML statement.


D. Use Deply from the Force.com IDE to deploy an ‘insert Account’ Apex class.





A.
  Use the Test menu on the developer Console to run all test classes for the account trigger.

What is a capability of the Force.com IDE? Choose 2 answers


A. Roll back deployments.


B. Run Apex tests.


C. Download debug logs.


D. Edit metadata components.





B.
  Run Apex tests.

D.
  Edit metadata components.

What is a capability of a StandardSetController?Choose 2 answers


A. It allows pages to perform mass updates of records


B. It allows pages to perform pagination with large record sets


C. It enforces field-level security when reading large record sets


D. It extends the functionality of a standard or custom controller





A.
  It allows pages to perform mass updates of records

B.
  It allows pages to perform pagination with large record sets

Which data structure is returned to a developer when performing a SOSL search?


A. A list of lists of sObjects.


B. A map of sObject types to a list of sObjects


C. A map of sObject types to a list oflists of sobjects


D. A list of sObjects.





A.
  A list of lists of sObjects.

What is an important consideration when developing in a multi-tenant environment?


A. Governor limits prevent tenants from impacting performance in multiple orgs on the same instance.


B. Unique domain names take the place of namespaces for code developed for multiple orgs on multiple instances.


C. Polyglot persistence provides support for a global, multilingual user base in multiple orgs on multiple instances.


D. Org-wide data security determines whether other tenants can see data in multiple orgs on the same instance.





A.
  Governor limits prevent tenants from impacting performance in multiple orgs on the same instance.

A developer wants to list all of the Tasks for each Account on the Account detail page. When a task is created for a Contact, what does the developer need to do to display the Task on the related Account record?


A. Nothing. The task is automatically displayed on the Account page.


B. Nothing. The Task cannot be related to an Account and a Contact.


C. Create a Workflow rule to relate the Task to the Contact's Account.


D. Create an Account formula field that displays the Task information.





A.
  Nothing. The task is automatically displayed on the Account page.

A reviewer is required to enter a reason in the comments field only when a candidate is recommended to be hired. Which action can a developer take to enforce this requirement?


A. Create a required Visualforce component.


B. Create a formula field.


C. Create a required comments field.


D. Create a validation rule.





D.
  Create a validation rule.

A developer has the following code:try {List nameList;Account a;String s = a.Name;nameList.add(s);} catch (ListException le ) {System.debug(' List Exception ');} catch (NullPointerException npe) {System.debug(' NullPointer Exception ');} catch (Exception e) {System.debug(' Generic Exception ');} What message will be logged?


A. List Exception


B. NullPointer Exception


C. Generic Exception


D. No message is logged





B.
  NullPointer Exception

A developer created a lightning component name accountList.cmp that display a list of Accounts. Client-side ogic that is executed when a user hovers over an account in the list should be stored in which bundle member?


A. AccountListHelper.js


B. AccountListRenderer.js


C. AccountList.renderer


D. AccountList.helper





C.
  AccountList.renderer

What is a valid way of loading external JavaScript files into a Visualforce page? (Choose 2


A. Using an (apex:includeScript)* tag.


B. Using an (apex:define)* tag.


C. Using a (link)* tag.


D. Using a (script)* tag.





A.
  Using an (apex:includeScript)* tag.

D.
  Using a (script)* tag.


Page 10 out of 40 Pages
Previous