| PDF + Test Engine |
|
||
| Test Engine |
|
||
|
|
Here are Salesforce CRT-450 PDF available features:
| 204 questions with answers | Updation Date : 16 Jul, 2026 |
| 1 day study required to pass exam | 100% Passing Assurance |
| 100% Money Back Guarantee | Free 3 Months Updates |
A developer is asked to write helper methods that create test data for unit tests.
What should be changed in the Testvtils class so that its methods are only usable by unit test methods?
A. Change public to private on line 01.
B. Add @IsTest above line 03,
C. Add @IsTest above line 01.
D. Remove static from line 03.
What is the value of the Trigger.old context variable in a before insert trigger?
A. A list of newly created sObjects without IDs
B. null
C. Undefined
D. An empty list of sObjects
What are two characteristics related to formulas? Choose 2 answers
A. Formulas are calculated at runtime and are not stored in the database
B. Fields that are used in a formula field can be deleted or edited wlthojt editing the formjta.
C. formulas can reference themselves.
D. Formulas can reference vaues m reiatea objects.
A developer created a trigger on the Account object. While testing the trigger, the developer sees the error message 'Maximum trigger depth exceeded’, What could be the possible causes?
A. The developer does not have the correct user permission.
B. The trigger is getting executed multiple times.
C. The trigger is a a helper class.
D. The trigger does not have sufficient code coverage.
While developing an Apex class with custom search functionality that will be launched from a Lightning Web Component, how can the developer ensure only records accessible to the currently logged in user are displayed?
A.
A. Option A
B. Option B
C. Option C
D. Option D
A developer is tasked with building a custom Lightning web component to collect Contact information. The form will be shared among many different types of users in the org. There are security requirements that only certain fields should be edited and viewed by certain groups of users. What should the developer use in their Lightning Web Component to support the security requirements?
A. force-input-field
B. ui-input-field
C. aura-input-field
D. lightning-input-field
A developer deployed a trigger to update the status__c of Assets related to an Account when the Account’'s status changes and a nightly integration that updates Accounts in bulk has started to fail with limit failures.
What should the developer change about the code to address the failure while still having the code update all of the Assets correctly?
A. Change the gerAssetsToUpdac= method to process all Accounts in one call and call itoutside of the for loop that starts on line 03.
B. Add a LIMIT clause to the SOQL query on line 16 to limit the number of Assets queriedfor an Account.
C. Move all of the logic to a Queueable class that queries for and updates the Assets andcall it from the trigger.
D. Add List<Asset> assets = [SELECT Id, Status__c FROM Asset WHERE AccountId =:acctId] to line 14 and iterate over the assets list in the for loop on line 15.
A company has a custom object, Order__c, that has a required, unique external ID field called OrderNumber__c. Which statement should be used to perform the DML necessary to insert new records and update existing records in a list of order__c records using the external ID field?
A. Option A
B. Option B
C. Option C
D. Option D
Consider the following code snippet for a Visualforce page that is launched using a Custom Button on the Account detail page layout.
When the Save button is pressed the developer must perform a complex validation that involves multiple objects and, upon success, redirect the user to another Visualforce page. What can the developer use to meet this business requirement?
A. Custom controller
B. Controller extension
C. Validation rule
D. Apex trigger
Managers at Universal Containers want to ensure that only decommissioned containers are able to be deleted in the system. To meet the business requirement a Salesforce developer adds "Decommissioned" as ipicklist value for the Statu3__c custom field within the Container__c object. Which two approaches could a developer use to enforce only Container records with a status of "Decommissioned" can be deleted? Choose 2 answers
A. Validation rule
B. After record-triggered flow
C. Apex trigger
D. Before record-triggered flow