Black Friday Special - 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dm70dm

CRT-450 Salesforce Certified Platform Developer I (SU24) Questions and Answers

Questions 4

When using Salesforce DX, what does a developer need to enable to create and manage scratch orgs?

Options:

A.

Dev Hub

B.

Production

C.

Environment Hub

D.

Sandbox

Buy Now
Questions 5

Universal Containers (UC) processes orders in Salesforce in a custom object, ord=xr <. They also allow sales reps to upload CSV files with thousands of orders at a time.

A developer is tasked with integrating orders placed in Salesforce with UC’s enterprise resource planning (ERP) system.

After the status for an order__ c is first set to 'Placed’, the order information must be sent to a REST endpoint in the ERP system that can process one order at a time.

What should the developer implement to accomplish this?

Options:

A.

Callout from an Qfuture method called from a trigger

B.

Callout from a Batchable class called from a scheduled job

C.

Flow with a callout from an invocable method

D.

Callout from a Queueable class called from a trigger

Buy Now
Questions 6

A developer created a trigger on a custom object. This custom object also has some dependent pick lists.

According to the order of execution rules, which step happens first?

Options:

A.

Old values are overwritten with the new record values.

B.

JavaScript validation is run in the browser,

C.

System validation is run for maximum field lengths,

D.

The original record Is loaded from the database.

Buy Now
Questions 7

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?

A)

CRT-450 Question 7

B)

CRT-450 Question 7

C)

CRT-450 Question 7

D)

CRT-450 Question 7

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 8

Universal Containers wants to automatically assign new cases to the appropriate support representative based on the case origin. They have created a custom field on the Case object to store the support

representative name.

What is the best solution to assign the case to the appropriate support representative?

Options:

A.

Use a validation rule on the Case object.

B.

Use an Assignment Flow element.

C.

Use a trigger on the Case object.

D.

Use a formula field on the Case object.

Buy Now
Questions 9

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?

Options:

A.

Use the inherited sharing keyword.

B.

Use the WITH SECURITY_ENFORCED clause within the SOQL.

C.

Use the with sharing keyword.

D.

Use the without sharing keyword.

Buy Now
Questions 10

What Is the result of the following code snippet?

CRT-450 Question 10

Options:

A.

Accounts are inserted.

B.

Account is inserted.

C.

200 Accounts are inserted,

D.

201 Accounts are inserted.

Buy Now
Questions 11

A developer must create a Lightning component that allows users to input Contact record information to create a Contact record, including a Salary__c custom field.

What should the developer use, along with a lightning-record-edit-form, so that salarv < field functions as a currency Input and is only viewable and editable by users that have the correct field level permissions on salary _c?

A)

CRT-450 Question 11

B)

CRT-450 Question 11

C)

CRT-450 Question 11

D)

CRT-450 Question 11

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 12

In the following example, which sharing context will myMethod execute when it is invoked?

CRT-450 Question 12

Options:

A.

Sharing rules will be inherited from the calling context.

B.

Sharing rules will not be enforced for the running user.

C.

Sharing rules will be enforced by the instantiating class.

D.

Sharing rules will be enforced for the running user.

Buy Now
Questions 13

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 troubleshooting the issue?

Options:

A.

Disable the batch job and recreate it with a smaller number of records.

B.

Check the debug logs for the batch job.

C.

Decrease the batch size to reduce the load on the system.

D.

Check the asynchronous job monitoring page to view the job status and logs.

Buy Now
Questions 14

A developer wants to import 500 Opportunity records into a sandbox.

Why should the developer choose to use Data Loader instead of Data Import Wizard?

Options:

A.

Data Import Wizard does not support Opportunities.

B.

Data Loader automatically relates Opportunities to Accounts.

C.

Data Loader runs from the developer's browser,

D.

Data Import Wizard can not import all 500 records.

Buy Now
Questions 15

A custom picklist field, Food _Preference_ c, exists on a custom object. The picklist contains the following options: 'Vegan', 'Kosher', 'No Preference'. The developer must ensure a value is populated every time a record is created or updated.

What is the optimal way to ensure a value is selected every time a record is saved?

Options:

A.

Mark the field as Required on the object's page layout.

B.

Set "Use the first value in the list as the default value” to True.

C.

Mark the field as Required on the field definition.

D.

Write an Apex trigger to ensure a value is selected.

Buy Now
Questions 16

Which two are best practices when it comes to Aura component and application event handling?

Choose 2 answers

Options:

A.

Try to use application events as opposed to component events.

B.

Use component events to communicate actions that should be handled at the application level.

C.

Handle low-level events in the event handler and re-fire them as higher-level events.

D.

Reuse the event logic in a component bundle, by putting the fogic in the helper.

Buy Now
Questions 17

Which annotation exposes an Apex class as a RESTful web service?

Options:

A.

@HttpInvocable

B.

@RemoteAction

C.

@RestResource (urlMapping="'/mySexrvice/*')

D.

@AuraEnabled(cacheable=true)

Buy Now
Questions 18

How can a developer check the test coverage of autolaunched Flows before deploying them in a change set?

Options:

A.

Use SOQL and the Tooling APL.

B.

Use the Flow Properties page.

C.

Use the Code Coverage Setup page.

D.

Use the ApextestResult class.

Buy Now
Questions 19

A developer Is designing a new application on the Salesforce platform and wants to ensure it can support multiple tenants effectively.

Which design framework should the developer consider to ensure scalability and maintainability?

Options:

A.

Agile Development

B.

Model-View-Controller (MVC)

C.

Flux (view, action, dispatcher, and store)

D.

Waterfall Model

Buy Now
Questions 20

Universal Containers wants to assess the advantages of declarative development versus programmatic customization for specific use cases in its Salesforce implementation.

What are two characteristics of declarative development over programmatic customization?

Choose 2 answers

Options:

A.

Declarative code logic does not require maintenance or review.

B.

Declarative development has higher design limits and query limits.

C.

Declarative development does not require Apex test classes.

D.

Declarative development can be done using the Setup menu.

Buy Now
Questions 21

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 Line Items to a different Order if a Line Item Is not In stock.

Which relationship implementation supports these requirements on its own?

Options:

A.

Order has a re-parentable lookup field to Line Item,

B.

Order has a re-parentable master-detail field to Line Item.,

C.

Line Item has a re-parentable lookup field to Order.

D.

Line Item has a re-parentable master-detail field to Order.

Buy Now
Questions 22

The Account object in an organization has a master-detail relationship to a child object called Branch. The following automations exist:

Roll-up summary fields

Custom validation rules

Duplicate rules

developer created a trigger on the Account object.

Which two things should the developer consider while testing the trigger code?

Choose 2 answers

Options:

A.

Rollup summary fields can cause the parent record to go through Save.

B.

The validation rules will cause the trigger to fire again,

C.

Duplicate rules are executed once all DML operations commit to the database.

D.

The trigger may fire multiple times during a transaction.

Buy Now
Questions 23

The following code snippet is executed by a Lightning web component in an environment with more than 2,000 lead records:

CRT-450 Question 23

Which governor limit will likely be exceeded within the Apex transaction?

Options:

A.

Total number of SOQL queries issued

B.

Total number of DML statements issued

C.

Total number of records processed as a result of DML statements

D.

Total number of records retrieved by SOQL queries

Buy Now
Questions 24

Which two statements are true about using the @testSetup annotation in an Apex test class?

Choose 2 answers

Options:

A.

a method defined with the @tetestSetup annotation executes once for each test method in the test class and counts towards system limits.

B.

Records created in the test setup method cannot be updated in individualtest methods.

C.

In a test setup method, test data is inserted once and made available for all test methods in the test class.

D.

The ©testSetup annotation is not supported when the cg5lsTest(SeeAIIData=True) annotation is used.

Buy Now
Questions 25

What are two considerations for running a flow in debug mode? Choose 2 answers

Options:

A.

Clicking Pause or executing a Pause element closes the flow and ends debugging.

B.

Input variables of type record cannot be passed into the flow.

C.

DML operations will be rolled back when the debugging ends.

D.

Callouts to external systems are not executed when debugging a flow.

Buy Now
Questions 26

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.

CRT-450 Question 26

What should the developer change about the code to address the failure while still having the code update all of the Assets correctly?

Options:

A.

Add List 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.

B.

Move all of the logic to a gueueabs class that queries for and updates the Assets and call it from the trigger.

C.

Add a LIMIT clause to the SOQL query on line 16 to limit the number of Assets queried for an Account.

D.

Change the getAssecsTspdace method to process all Accounts in one call and call it outside of the £ox loop that starts on line 03.

Buy Now
Questions 27

Given the following Apex statement:

CRT-450 Question 27

What occurs when more than one Account is returned by the SOQL query?

Options:

A.

The query fails and an error is written to the debug log.

B.

An unhandled exception is thrown and the code terminates.

C.

The variable, myaccount, is automatically cast to the List data type.

D.

The first Account returned is assigned to myAccount,

Buy Now
Questions 28

A Primaryid__c custom field exists on the candidate_ c custom object. The field is used to store each candidate's id number and is marked as Unique in the schema definition.

As part of a data enrichment process, Universal Containers has a CSV file that contains updated data for all candidates in the system. The file contains each Candidate's primary id as a data point. Universal Containers wants to upload this information into Salesforce, while ensuring all data rows are correctly mapped to a candidate in the system.

Which technique should the developer implement to streamline the data upload?

Options:

A.

Create a before Insert trigger to correctly map the records.

B.

Create a before save flow to correctly map the records.

C.

Update the PrimaryId__ c field definition to mark it as an External Id.

D.

Upload the CSV into a custom object related to Candidate__ c.

Buy Now
Questions 29

Which code statement includes an Apex method named updateaccounts in the class accountcontreoller for use in a Lightning web component?

Options:

A.

import updatelccounts from '@aalesforce/apeax/AccountController':

B.

import updateiccounta from 'AccountConctroller':

C.

import updatelccounta from ‘RAccountContraller,updateiccounta’;

D.

import updase’Accounts from

'@=salesforce/apex/AccountController ., updateaccounts’;

Buy Now
Questions 30

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 a picklist value for the status__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

Options:

A.

Apex trigger

B.

validation rule

C.

After record-triggered flow

D.

Before record-triggered flow

Buy Now
Questions 31

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 that match multiple criteria they specify. Since its release, users of the tool report they can see Accounts they do not own.

What should the developer use to enforce sharing permissions for the currently logged in user while using the custom search tool?

Options:

A.

Use the schema describe calls to determine if the logged-in user has access to the Account object,

B.

Use the with sharing keyword on the class declaration.

C.

Use the without sharing keyword on the class declaration.

D.

Use the UserInfo Apex class to filter all SOQL queries to returned records owned by the logged-in user.

Buy Now
Questions 32

A developer must troubleshoot to pinpoint the causes of performance issues when a custom page loads in their org.

Which tool should the developer use to troubleshoot query performance?

Options:

A.

Setup Menu

B.

Developer Console

C.

Visual Studio Code IDE

D.

AppExchange

Buy Now
Questions 33

What can be easily developed using the Lightning Component framework?

Options:

A.

Salesforce Classic user Interface pages

B.

Lightning Pages

C.

Salesforce integrations

D.

Customized JavaScript buttons

Buy Now
Questions 34

A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple sObjects. The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on the initial URL.

Which three statements are useful inside the unit test to effectively test the custom controller? Choose 2 answers

A)

CRT-450 Question 34

B)

CRT-450 Question 34

C)

CRT-450 Question 34

D)

CRT-450 Question 34

E)

CRT-450 Question 34

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

E.

Option E

Buy Now
Questions 35

Which two are phases in the Aura application event propagation framework?

Choose 2 answers

Options:

A.

Bubble

B.

Control

C.

Default

D.

Emit

Buy Now
Questions 36

Universal Containers has an order system that uses an Order Number to identify an order for customers and service agents. Order records will be imported into Salesforce.

How should the Order Number field be defined in Salesforce?

Options:

A.

Direct Lookup

B.

Lookup

C.

External ID and Unique

D.

Indirect Lookup

Buy Now
Questions 37

What should a developer use to obtain the Id and Name of all the Leads, Accounts, and Contacts that have the company name "Universal Containers"?

A)

CRT-450 Question 37

B)

CRT-450 Question 37

C)

CRT-450 Question 37

D)

CRT-450 Question 37

Options:

A.

Option

B.

Option

C.

Option

D.

Option

Buy Now
Questions 38

A developer created a trigger on the Account object and wants to test if the trigger is properly bulkified. The developer team decided that the trigger should be tested with 200 account records with unique names.

What two things should be done to create the test data within the unit test with the least amount of code?

Choose 2 answers

Options:

A.

Use Test.loadData to populate data in your test methods.

B.

Create a static resource containing test data.

C.

Use the @isTest (isParallel=true) annotation in the test class.

D.

Use the @isTest (seeAllData=true) annotation in the test class.

Buy Now
Questions 39

Given the following Anonymous block:

CRT-450 Question 39

What should a developer consider for an environment that has over 10,000 Case records?

Options:

A.

The try-catch block will handle any DML exceptions thrown.

B.

The transaction will fail due to exceeding the governor limit.

C.

The try-catch block will handle exceptions thrown by governor limits.

D.

The transaction will succeed and changes will be committed.

Buy Now
Questions 40

A software company uses the following objects and relationships:

* Case: to handle customer support issues

* Defect__c: a custom object to represent known issues with the company's software

* Case_Defect__c: a junction object between Case and Defect__c to represent that a defect is a cause of a customer issue

Case and Defect__c have Private organization-wide defaults.

What should be done to share a specific Case_Defect__c record with a user?

Options:

A.

share the parent Defect__c record.

B.

Share the parent Case record.

C.

Share the parent Case and Defect_c records.

D.

Share the Case_Defect_c record.

Buy Now
Questions 41

A developer at AW Computing is tasked to create the supporting test class for programmatic customization that leverages records stored within the custom object, Pricing_Structure__c. AW Computing has a complex pricing structure for each item on the store, spanning more than 500 records,

Which two approaches can the developer use to ensure Pricing Strucrture_c records are available when the test class is executed?

Choose 2 answers

Options:

A.

Use a Test Data Factory class.

B.

Use the Test.loadTesc() method.

C.

Use the @T=Test (SeefAllDaca=rru=) annotation.

D.

Use without sharing on the class declaration.

Buy Now
Questions 42

A developer considers the following snippet of code:

CRT-450 Question 42

Based on this code, what is the value of x?

Options:

A.

1

B.

2

C.

4

D.

3

Buy Now
Questions 43

Universal Containers hires a developer to build a custom search page to help users find the Accounts they want. Users will be able to search on Name, Description,

and a custom comments field.

Which consideration should the developer be aware of when deciding between SOQL and SOSL?

Choose 2 answers

Options:

A.

SOSL is faster for text searches.

B.

SOQL is faster for text searches.

C.

SOSL is able to return more records.

D.

SOQL is able to return more records.

Buy Now
Questions 44

Which three Salesforce resources can be accessed from a Lightning web component?

Choose 3 answers

Options:

A.

All external libraries

B.

SVG resources

C.

Third-party web components

D.

Content asset files

E.

Static resources

Buy Now
Questions 45

A developer must implement a checkpaymentpbrocaessox class that provides check processing payment capabilities that adhere to what is defined for payments in the paymentProcsssor Interface.

CRT-450 Question 45

Which implementation is correct to use the paymenterocesscr interface class?

A)

CRT-450 Question 45

B)

CRT-450 Question 45

C)

CRT-450 Question 45

Options:

A.

Option A

B.

Option B

C.

Option C

Buy Now
Questions 46

A company has a custom object, order__ ¢, that has a required, unique external ID field called crder_number_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?

Options:

A.

merge orders;

B.

merge orders Order_Number_ c;

C.

upsert orders:

D.

upserrc orders Order Number_c;

Buy Now
Questions 47

A development team wants to use a deployment script to automatically deploy to a sandbox during their development cycles.

Which two tools can they use to run a script that deploys to a sandbox?

Choose 2 answers

Options:

A.

VSCode

B.

Developer Console

C.

Change Sets

D.

SFOX CLI

Buy Now
Questions 48

A developer is creating an app that contains multiple Lightning web components.

One of the child components is used for navigation purposes. When a user clicks a button called Next in the child component, the parent component must be alerted so it can navigate to the next page.

How should this be accomplished?

Options:

A.

Update a property on the parent.

B.

Fire a notification.

C.

Create a custom event,

D.

Call a method in the Apex controller.

Buy Now
Questions 49

What can be used to override the Account's standard Edit button for Lightning Experience?

Options:

A.

Lightning component

B.

Lightning action

C.

Lightning flow

D.

Lightning page

Buy Now
Questions 50

A developer is asked to write helper methods that create test data for unit tests.

CRT-450 Question 50

What should be changed in the TestUtils class so that its methods are only usable by unit test methods?

Options:

A.

Remove static from line 03.

B.

Add @IsTest above line 03.

C.

Change public to private on line 01.

D.

Add @1sTest above line 01.

Buy Now
Questions 51

When importing and exporting data into Salesforce, which two statements are true? Choose 2 answers

Options:

A.

Developer and Developer Pro sandboxes have different storage limits.

B.

Bulk API can be used to bypass the storage limits when importing large data volumes in development environments.

C.

Bulk API can be used to import large data volumes in development environments without bypassing the storage limits.

D.

Data import wizard is an application that is instalied on your computer.

Buy Now
Questions 52

Universal Containers (UC) wants to lower its shipping cost while making the shipping process more efficient. The Distribution Officer advises UC to implement global

addresses to allow multiple Accounts to share a default pickup address. The developer is tasked to create the supporting object and relationship for this business requirement

and uses the Setup Menu to create a custom object called "Global Address".

Which field should the developer add to create the most efficient model that supports the business need?

Options:

A.

Add 2 master-detail field on the Account object to the Global Address object.

B.

Add a master-detail field on the Global Address object to the Account object.

C.

Add a lookup field on the Global Address object to the Account object.

D.

Add a lookup field on the Account object to the Global Address object.

Buy Now
Exam Code: CRT-450
Exam Name: Salesforce Certified Platform Developer I (SU24)
Last Update: Nov 17, 2024
Questions: 174

PDF + Testing Engine

$49.5  $164.99

Testing Engine

$37.5  $124.99
buy now CRT-450 testing engine

PDF (Q&A)

$31.5  $104.99
buy now CRT-450 pdf
dumpsmate guaranteed to pass
24/7 Customer Support

DumpsMate's team of experts is always available to respond your queries on exam preparation. Get professional answers on any topic of the certification syllabus. Our experts will thoroughly satisfy you.

Site Secure

mcafee secure

TESTED 23 Nov 2024