CRT-450 Exam Questions

Total 387 Questions

Last Updated Exam : 22-Oct-2024

Topic 1 : Exam Pool A

Where can a developer identify the time taken by each process in a transaction using Developer Console log inspector?


A.

Performance Tree tab under Stack Tree panel


B.

Execution Tree tab under Stack Tree panel


C.

Timeline tab under Execution Overview panel


D.

Save Order tab under Execution Overview panel





C.
  

Timeline tab under Execution Overview panel



Universal Containers wants Opportunities to be locked from editing when reaching the Closed/Won stage.
Which two strategies should a developer use to accomplish this? (Choose two.)


A.

Use a Visual Workflow.


B.

Use a validation rule.


C.

Use the Process Automation Settings.


D.

Use a Trigger.





B.
  

Use a validation rule.



D.
  

Use a Trigger.



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


A.

Use the transient keyword when declaring variables.


B.

Query and store fields from the related object in a collection when updating related objects.


C.

Remove or set collections to null after use.


D.

Use SOQL for loops instead of assigning large queries results to a single collection and looping through
the collection.





A.
  

Use the transient keyword when declaring variables.



D.
  

Use SOQL for loops instead of assigning large queries results to a single collection and looping through
the collection.



For which three items can a trace flag be configured? (Choose three.)


A.

Apex Trigger


B.

Apex Class


C.

Process Builder


D.

User


E.

Visualforce





A.
  

Apex Trigger



B.
  

Apex Class



D.
  

User



A newly hired developer discovers that there are multiple triggers on the case object.
What should the developer consider when working with triggers?


A.

Developers must dictate the order of trigger execution.


B.

Unit tests must specify the trigger being tested.


C.

Trigger execution order is not guaranteed for the same sObject.


D.

Trigger execution order is not guaranteed for the same sObject.





A.
  

Developers must dictate the order of trigger execution.



B.
  

Unit tests must specify the trigger being tested.



D.
  

Trigger execution order is not guaranteed for the same sObject.



A developer executes the following query in Apex to retrieve a list of contacts for each account:
List<account> accounts = [Select ID, Name, (Select ID, Name from Contacts) from Account] ;
Which two exceptions may occur when it executes? (Choose two.)


A.

CPU limit exception due to the complexity of the query.


B.

SOQL query row limit exception due to the number of contacts.


C.

SOQL query limit exception due to the number of contacts.


D.

SOQL query row limit exception due to the number of accounts.





C.
  

SOQL query limit exception due to the number of contacts.



D.
  

SOQL query row limit exception due to the number of accounts.



In a single record, a user selects multiple values from a multi-select picklist.
How are the selected values represented in Apex?


A.

As a List<String> with each value as an element in the list


B.

As a String with each value separated by a comma


C.

As a String with each value separated by a semicolon


D.

As a Set<String> with each value as an element in the set





C.
  

As a String with each value separated by a semicolon



Which two platform features align to the Controller portion of MVC architecture? (Choose two.) 


A.

Process Builder actions


B.

Workflow rules


C.

Standard objects


D.

Date fields





A.
  

Process Builder actions



B.
  

Workflow rules



Which two Apex data types can be used to reference a Salesforce record ID dynamically? (Choose two.)


A.

ENUM


B.

sObject


C.

External ID


D.

String





A.
  

ENUM



D.
  

String



When is an Apex Trigger required instead of a Process Builder Process?


A.

When a record needs to be created


B.

When multiple records related to the triggering record need to be updated


C.

When a post to Chatter needs to be created


D.

When an action needs to be taken on a delete or undelete, or before a DML operation is executed.





D.
  

When an action needs to be taken on a delete or undelete, or before a DML operation is executed.




Page 3 out of 39 Pages
Previous