CRT-450 Exam Questions
223 real CRT-450 exam questions with expert-verified answers and explanations. Page 3 of 5.
- Question #107
A developer is writing tests for a class and needs to insert records to validate functionality. Which annotation method should be used to create record for every method in the test...
- Question #108
Universal Container wants Opportunities to no longer be editable when reaching the Clousd stage. How should a develoiper accomplish this?
- Question #109
A developer must write anApex method that will be called from a lightning component. The method may delete an Account stored in the accountRec variable. Which method should a devel...
- Question #110
The Job_Application__c custom object has a field that is a Master-Detail relationship to the Contact object, where the Contact object is the Master. As part of a feature implementa...
- Question #111
A developer must implement a CheckPaymentProcessor class that provides check processing payment capabilities that adhere to what defined for payments in the PaymentProcessor interf...
- Question #112
Universal Containers wants to back up all of the data and attachments in its Salesforce org once month. Which approach should a developer use to meet this requirement?
- Question #113
What can be used to override the Account's standard Edit button for Lightning Experience?
- Question #114
When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?
- Question #115
Refer to the following code snippet for an environment that has more than 200 Accounts belonging to the Technology' industry: which three statements are accurate about debug logs?...
- Question #116
Universal Containers implemented a private sharing model for the Account object. A custom Account search tool was developed with Apex to help sales representatives find accounts th...
- Question #117
What are two use cases for executing Anonymous Apex code? Choose 2 answers
- Question #118
A custom Visualforce controller calls the ApexPages,addMessage () method, but no messages are rendering on the page. Which component should be added to the Visualforce page to disp...
- Question #119
When importing and exporting data into Salesforce, which two statements are true? Choose 2 answers
- Question #120
Where are two locations a developer can look to find information about the status of asynchronous or future methods? Choose 2 answers
- Question #121
Cloud Kicks Fitness, an ISV Salesforce partner, is developing a managed package application. One of the application modules allows the user to calculate body fat using the Apex cla...
- Question #122
A developer writes a trigger on the Account object on the before update event that increments a count field. A workflow rule also increments the count field every time that an Acco...
- Question #123
Given the following code snippet, that is part of a custom controller for a Visualforce page: In which two ways can the try/catch be enclosed to enforce object and field-level perm...
- Question #124
Which salesforce org has a complete duplicate copy of the production org including data and configuration?
- Question #125
A Salesforce Administrator is creating a record-triggered flow. When certain criteria are met, the flow must call an Apex method to execute complex validation involving several typ...
- Question #126
When a user edits the Postal Code on an Account, a custom Account text field named ''Timezone'' must be updated based on the values in a postalCodeToTimezone_c custom object. What...
- Question #127
The values 'High', 'Medium', and 'Low' are Identified as common values for multiple picklist across different object. What is an approach a developer can take to streamline mainten...
- Question #128
In terms of the MVC paradigm, what are two advantages of implementing the layer of a Salesforce application using Aura Component-based development over Visualforce? Choose 2 answer...
- Question #129
A lead developer creates an Apex interface called "Laptop". Consider the following code snippet: How can a developer use the Laptop Interface within the Silvertaptop class?
- Question #131
Refer to the following Apex code: What is the value of x when it is written to the debug log?
- Question #132
Which action causes a before trigger to fire by default for Accounts?
- Question #133
A developer must provide custom user interfaces when users edit a Contact in either Salesforce Classic or Lightning Experience. What should the developer use to override the Contac...
- Question #134
A developer wants to mark each Account in a List<Account> as either or Inactive based on the LastModified field value being more than 90 days. Which Apex technique should the devel...
- Question #135
What are three characteristics of change set deployments? Choose 3 answers
- Question #136
A developer must create a DrawList class that provides capabilities defined in the Sortable and Drawable interfaces. public interface Sortable { void sort(); } public interface Dra...
- Question #137
A developer wants to get access to the standard price book in the org while writing a test class that covers an OpportunityLineItem trigger. Which method allows access to the price...
- Question #138
A team of developers is working on a source-driven project that allows them to work independently, with many different org configurations. Which type of Salesforce orgs should they...
- Question #139
A developer created a Lightning web component called statusComponent to be inserted into the Account record page. Which two things should the developer do to make the component ava...
- Question #140
A developer is migrating a Visualforce page into a Lightning web component. The Visualforce page shows information about a single record. The developer decides to use Lightning Dat...
- Question #141
A developer has the following requirements: - Calculate the total amount on an Order. - Calculate the line amount for each Line Item based on quantity selected and price. - Move Li...
- Question #142
A developer created a child Lightning web component nested inside a parent Lightning web component, parent component needs to pass a string value to the child component. In which t...
- Question #143
The following automations already exist on the Account object: - A workflow rule that updates a field when a certain criteria is met - A custom validation on a field - A How that u...
- Question #144
The Account object in an organization has a master detail relationship to a child object called Branch. The following automations exist: - Rollup summary fields - Custom validation...
- Question #145
Einstein Next Best Action Is configured at Universal Containers to display recommendations to internal users on the Account detail page. If the recommendation is approved, a new op...
- Question #146
What are three ways for 2 developer to execute tests in an org? Choose 3 answers
- Question #147
A developer created a trigger on the Account object and wants to test if the trigger is properly bulklfield. The developer team decided that the trigger should be tested with 200 a...
- Question #148
A developer is creating a test coverage for a class and needs to insert records to validate functionality. Which method annotation should be used to create records for every method...
- Question #150
What should a developer use to script the deployment and unit test execution as part of continuous integration?
- Question #151
For which three items can 2 trace flag be configured? Choose 3 answers
- Question #152
Which three steps allow a custom SVG to be included in a Lightning web component? Choose 3 answers
- Question #153
How does the Lightning Component framework help developers implement solutions faster?
- Question #154
What should a developer do to check the code coverage of a class after running all tests?
- Question #155
Cloud kicks has a muli-screen flow its call center agents use when handling inbound service desk calls. At one of the steps in the flow, the agents should be presented with a list...
- Question #157
Since Aura application events follow the traditional publish-subscribe model, which method is used to fire an event?
- Question #158
What should a developer do to check the code coverage of a class after running all tests?
- Question #159
How should a developer write unit tests for a private method in an Apex class?