CRT-450 Exam Questions
223 real CRT-450 exam questions with expert-verified answers and explanations. Page 5 of 5.
- Question #218
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 m...
- Question #219
A developer creates a batch Apex job to update a large number of records, and receives reports of the job timing out and not completing. What is the first step towards troubleshoot...
- Question #220
Which annotation should a developer use on an Apex method to make it available to be wired to a property in a Lightning web component?
- Question #221
What is an example of a polymorphic lookup field in Salesforce?
- Question #222
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 a...
- Question #223
In terms of the MVC paradigm, what are two advantages of implementing the view layer of a Salesforce application using Lightning Web Component-based development over Visualforce? C...
- Question #224
Which code displays the contents of a Visualforce page as a PDF?
- Question #225
Which statement generates a list of Leads and Contacts that have a field with the phrase 'ACME'?
- Question #226
A software company is using Salesforce to track the companies they sell their software to in the Account object. They also use Salesforce to track bugs in their software with a cus...
- Question #227
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 ha...
- Question #228
A developer creates a custom exception as shown below: public class ParityException extends Exception {} What are two ways the developer can fire the exception in Apex? Choose 2 an...
- Question #229
Which statement should be used to allow some of the records in a list of records to be inserted if others fail to be inserted?
- Question #230
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 me...
- Question #231
Which code in a Visualforce page and/or controller might present a security vulnerability?
- Question #232
What are two benefits of using declarative customizations over code? Choose 2 answers
- Question #233
A developer identifies the following triggers on the Expense __c object: The triggers process before delete, before insert, and before update events respectively. Which two techniq...
- Question #234
Universal Hiring uses Salesforce to capture job applications. A salesforce administrator created two custom objects; Job__c acting as the maste object, Job _Application__c acting a...
- Question #235
A developer created this Apex trigger that calls Myclass.myStaticMethod: The developer creates a test class with a test method that calls MyClass.myStaticMethod directly, resulting...
- Question #236
Universal Containers needs to create a custom user interface component that allows users to enter information about their accounts. The component should be able to validate the use...
- Question #237
When the code executes, a DML exception is thrown. How should a developer modify the code to ensure exceptions are handled gracefully?
- Question #238
Considering the following code snippet: When the code executes a DML exception is thrown. How should the developer modify the code to ensure exceptions are handled gracefully?
- Question #239
A developer wrote the following two classes: The StatusFetcher class successfully compiled and saved. However, the Calculator class has a compile time error. How should the develop...
- Question #240
The code below deserializes input into a list of Accounts. Which code modification should be made to insert the Accounts so that field-level security is respected?