Labour Day Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: cramtreat

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

Questions 4

A developer must modify the following code snippet to prevent the number of SOQL queries issued from exceeding the platform governor limit. public class without sharing OpportunityService( public static List getOpportunityProducts(Set opportunityIds){ List oppLineItems = new List(); for(Id thisOppId : opportunityIds){ oppLineItems.addAll([Select Id FROM OpportunityLineItems WHERE OpportunityId = :thisOppId)]; } return oppLineItems; } }

The above method might be called during a trigger execution via a Lightning component. Which technique should be implemented to avoid reaching the governor limit?

Options:

A.

Use the System.Limits.getQueries() method to ensure the number of queries is less than 100.

B.

Use the System.Limits.getlimitQueries() method to ensure the number of queries is less than 100.

C.

Refector the code above to perform the SOQL query only if the Set of opportunityIds contains less 100 Ids.

D.

Refactor the code above to perform only one SOQL query, filtering by the Set of opportunityIds.

Buy Now
Questions 5

A company has been adding data to Salesforce and has not done a good Job of limiting the creation of duplicate Lead records. The developer is considering writing an Apex process to identify duplicates and merge the records together.

Which two statements are valid considerations when using merged?

Choose 2 answers

Options:

A.

The field values on the master record are overwritten by the records being merged.

B.

Merge is supported with accounts, contacts, cases, and leads.

C.

External ID fields can be used with the merge method.

D.

The merge method allows up to three records, including the master and two additional records with the same sObject type, to be merged into the master record.

Buy Now
Questions 6

A developer needs to have records with specific field values in order to test a new Apex class.

What should the developer do to ensure the data is available to the test?

Options:

A.

Use Anonymous Apex to create the required data.

B.

Use Test.loadData < > and reference a CSV file in a static resource.

C.

Use SOQL to query the org for the required data.

D.

Use Test.loadData and reference a JSON file in Documents.

Buy Now
Questions 7

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 custom object, Bug__c.

As part of a process improvement initiative, they want to be able to report on which companies have reported which bugs. Each company should be able t

report multiple bugs and bugs can also be reported by multiple companies.

What is needed to allow this reporting?

Options:

A.

Roll-up summary field of Bug__c on Account

B.

Junction object between Bug__c and Account

C.

Lookup field on Bug__c to Account

D.

Master-detail field on Bug__c to Account

Buy Now
Questions 8

A developer is alerted to an issue with a custom Apex trigger that is causing records to be duplicated.

What is the most appropriate debugging approach to troubleshoot the issue?

Options:

A.

Disable the trigger m production and test to see If the issue still occurs.

B.

Use the Apex Interactive Debugger to step through the code and Identify the issue.

C.

Review the Historical Event logs to Identify the source of the issue.

D.

Add system.debug statements to the code to track the execution flow and identify the issue.

Buy Now
Questions 9

What can be easily developed using the Lightning Component framework?

Options:

A.

Customized JavaScript buttons

B.

Salesforce Classic user Interface pages

C.

Lightning Pages

D.

Salesforce integrations

Buy Now
Questions 10

An Opportunity needs to have an amount rolled up from a custom object that is not in a master-detail relationship.

How can this be achieved?

Options:

A.

Write a trigger on the child object and use a red-black tree sorting to sum the amount for all related child objects under the Opportunity.

B.

Write a Process Builder that links the custom object to the Opportunity.

C.

Write a trigger on the child object and use an aggregate function to sum the amount for all related child objects under the Opportunity

D.

Use the Streaming API to create real-time roll-up summaries.

Buy Now
Questions 11

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 click a button called.. component, the parent component must be alerted so it can navigate to the next page.

How should this be accomplished?

Options:

A.

Fire a notification.

B.

Update a property on the parent.

C.

Call a method in the Apex controller.

D.

Create a custom event.

Buy Now
Questions 12

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?

Options:

A.

Change the gerAssetsToUpdac= method to process all Accounts in one call and call it outside 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 queried for an Account.

C.

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

D.

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.

Buy Now
Questions 13

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

Options:

A.

Emit

B.

Control

C.

Default

D.

Bubble

Buy Now
Questions 14

Which three statements are true regarding custom exceptions in Apex? (Choose three.)

Options:

A.

A custom exception class must extend the system Exception class.

B.

A custom exception class can implement one or many interfaces.

C.

A custom exception class cannot contain member variables or methods.

D.

A custom exception class name must end with “Exception”.

E.

A custom exception class can extend other classes besides the Exception class.

Buy Now
Questions 15

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 two ways can this be accomplished?

Choose 2 answers

Options:

A.

The parent component can use a custom event to pass the data to the child component,

B.

The parent component can use the Apex controller class to send data to the child component.

C.

The parent component can invoke a method in the child component

D.

The parent component can use a public property to pass the data to the child component.

Buy Now
Questions 16

A company has a custom object, Sales, }_Help_Request__c, that has a Lookup relationship to Opportunity. The Seles Help Request__c has a mumber field, Number_ct_Hours__c, that represents the amount of time spent on the Sales_Help Request__C.

A developer is tasked with creating a field, total_Hour2__c, on Opportunity that should be the sum of all of the Number_of_Hours_c values for the Sales_Help_Request__c records related to that Opportunity.

What should the developer use to implement this?

Options:

A.

A roll-up summary field on the sales Help_Request__c object

B.

A trigger on the Opportunity object

C.

A roll-up summary field on the Opportunity object

D.

A record-triggered flow on the Sales Help Request__c object

Buy Now
Questions 17

What should a developer do to check the code coverage of a class after running all tests?

Options:

A.

View the code coverage percentage or the class using the Overalll code Coverage panel in the Developer Console Test tab.

B.

View the Code Coverage column in the list on the Apex Classes page.

C.

Select and run the class on the Apex est Execution page in the Developer Console.

D.

View the Class test Percentage tab on the Apex Class list view in Salesforce Setup.

Buy Now
Questions 18

Which three code lines are required to create a Lightning component on a Visualforce page? Choose 3 answers

Options:

A.

$Lightning.createComponent

B.

C.

$Lightning.useComponent

D.

$Lightning.use

E.

Buy Now
Questions 19

A company decides to implement a new process where every time an Opportunity is created, a follow up Task should be created and assigned to the Opportunity Owner.

What is the most efficient way for a developer to implement this?

Options:

A.

Auto-launched flow on Task

B.

Apex trigger on Task

C.

Task actions

D.

Record-trigger flow on Opportunity

Buy Now
Questions 20

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?

Choose 3 answers

Options:

A.

Debug log levels are cumulative, where FINE log level includes all events logged at the DEBUG, INFO, WARN, and ERROR levels.

B.

The maximum size of a debug log is 5 MB.

C.

Only the 20 most recent debug logs for a user are kept.

D.

Debug logs can be set for specific users, classes, and triggers.

E.

System debug logs are retained for 24 hours.

Buy Now
Questions 21

A Developer Edition org has five existing accounts. A developer wants to add 10 more accounts for testing purposes.

The following code is executed in the Developer Console using the Execute Anonymous window:

How many total accounts will be in the org after this code is executed?

Options:

A.

5

B.

6

C.

10

D.

15

Buy Now
Questions 22

What should be used to create scratch orgs?

Options:

A.

Developer Console

B.

Salesforce CLI

C.

Workbench

D.

Sandbox refresh

Buy Now
Questions 23

An org tracks customer orders on an Order object and the items of an Order on the Line Item object. The Line Item object has a MasterDetail relationship to the order object. A developer has a requirement to calculate the order amount on an Order and the line amount on each Line item based on quantity and price.

What is the correct implementation?

Options:

A.

Implement the line amount as a numeric formula field and the order amount as a roll-up summary field.

B.

Write a single before trigger on the Line Item that calculates the item amount and updates the order amount on the Order.

C.

Implement the Line amount as a currency field and the order amount as a SUM formula field.

D.

Write a process on the Line item that calculates the item amount and order amount and updates the filed on the Line Item and the order.

Buy Now
Questions 24

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 answers

Options:

A.

new ParityException();:

B.

throw new ParityException("parity does not match");

C.

new ParityException('parity does not match');

D.

throw new ParityException();

Buy Now
Questions 25

Which two sfdx commands can be used to add testing data to a Developer sandbox?

Options:

A.

Forced: data:bulk:upsert

B.

Forced: data: object :upsert

C.

Forced: data: tree: upsert

D.

Forced: data:async:upsert

Buy Now
Questions 26

Developers at Universal Containers (UC) use version control to share their code changes, but they notice that when they deploy their code to different environments they often have failures. They decide to set up Continuous Integration (CI).

What should the UC development team use to automatically run tests as part of their CI process?

Options:

A.

Force.com Toolkit

B.

Salesforce CLI

C.

Visual Studio Code

D.

Developer Console

Buy Now
Questions 27

Universal Container* decides to use purely declarative development to build out a new Salesforce application.

Which two options can be used to build out the business logic layer for this application?

Choose 2 answer

Options:

A.

Validation Rules

B.

Remote Actions

C.

Record- Triggered flow

D.

Batch Jobs

Buy Now
Questions 28

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.

Flux (view, action, dispatcher, and store)

B.

Waterfall Model

C.

Agile Development

D.

Model-View-Controller (MVC)

Buy Now
Questions 29

As part of a data cleanup strategy, AW Computing wants to proactively delete associated opportunity records when the related Account is deleted.

Which automation tool should be used to meet this business requirement?

Options:

A.

Workflow Rules

B.

Scheduled job

C.

Record-Triggered Flow

D.

Process Builder

Buy Now
Questions 30

A developer is implementing an Apex class for a financial system. Within the class, the

variables ‘creditAmount’ and ‘debtAmount’ should not be able to change once a value is

assigned. In which two ways can the developer declare the variables to ensure their value

can only be assigned one time? Choose 2 answers

Options:

A.

Use the static keyword and assign its value in the class constructor.

B.

Use the final keyword and assign its value in the class constructor.

C.

Use the static keyword and assign its value in a static initializer.

D.

Use the final keyword and assign its value when declaring the variable.

Buy Now
Questions 31

A business has a proprietary Order Management System (OMS) that creates orders from their website and fulfills the orders. When the order is created in the OMS, an integration also creates an order record in Salesforce and relates it to the contact as identified by the email on the order. As the order goes through different stages in the OMS, the integration also updates It in Salesforce. It is noticed that each update from the OMS creates a new order record in Salesforce.

Which two actions will prevent the duplicate order records from being created in Salesforce?

Choose 2 answers

Options:

A.

Ensure that the order number in the OMS is unique.

B.

Use the order number from the OMS as an external ID.

C.

Use the email on the contact record as an external ID.

D.

Write a before trigger on the order object to delete any duplicates.

Buy Now
Questions 32

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 permissions and prevent the DML statement from being executed if the current logged-in user does not have the appropriate level of access? Choose 2 answers

Options:

A.

Use if (Schema, sobjectType, Contact, isUpdatable ( ) )

B.

Use if (Schema , sobjectType. Contact. Field, Is_Active_c. is Updateable ( ) )

C.

Use if (Schema.sObjectType.Contact.isAccessible ( ) )

D.

Use if (thisContact.Owner = = UserInfo.getuserId ( ) )

Buy Now
Questions 33

Which three steps allow a custom SVG to be included in a Lightning web component? Choose 3 answers

Options:

A.

Upload the SVG as a static resource.

B.

Import the static resource and provide a getter for it in JavaScript.

C.

Reference the getter in the HTML template.

D.

Reference the import in the HTML template.

E.

Import the SVG as a content asset file.

Buy Now
Questions 34

A custom picklist field, Food_Preference__c, exist 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 most efficient way to ensure a value is selected every time a record is saved?

Options:

A.

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

B.

Set a validation rule to enforce a value is selected.

C.

Mark the field as Required on the field definition.

D.

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

Buy Now
Questions 35

Universal Containers has a Visualforce page that displays a table of every Container__c being rented by a given Account. Recently this

page is failing with a view state limit because some of the customers rent over 10,000 containers.

What should a developer change about the Visualforce page to help with the page load errors?

Options:

A.

Use JavaScript remotlng with SOQL Offset.

B.

Implement pagination with a StandardSetController.

C.

Implement pagination with an OffaetController.

D.

Use lazy loading and a transient List variable.

Buy Now
Questions 36

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

Options:

A.

B.

C.

D.

Buy Now
Questions 37

For which three items can a trace flag be configured?

Choose 3 answers

Options:

A.

Process Builder

B.

Visualforce

C.

Apex Class

D.

Apex Trigger

E.

User

Buy Now
Questions 38

A developer has a Visualforce page and custom controller to save Account records. The developer wants to display any validation rule violation to the user. How can the developer make sure that validation rule violations are displayed?

Options:

A.

Add cuatom controller attributes to display the message.

B.

Include on the Visualforce page.

C.

Use a try/catch with a custom exception class.

D.

Perform the DML using the Database.upsert() method.

Buy Now
Questions 39

A developer migrated functionality from JavaScript Remoting to a Lightning web component and wants to use the existing getOpportunities() method to provide data.

What to do now?

Options:

A.

The method must be decorated with (cacheable=true).

B.

The method must be decorated with @AuraEnabled.

C.

The method must return a JSON Object.

D.

The method must return a String of a serialized JSON Array.

Buy Now
Questions 40

AW Computing tracks order information in custom objects called order__c and order_Line_ c - Currently, all shipping information is stored in the order__c object.

The company wants to expand Its order application to support split shipments so that any number of order_Line__c records on a single order__c can be shipped to different locations.

What should a developer add to fulfill this requirement?

Options:

A.

Order_shipment_Group_c object and master-detail field on order_Line_c

B.

Order_shipment_Group_c object and master-detail field on order_c

C.

Order_shipment_Group_c object and master-detail field to order_c and Order Line_c

D.

Order_shipment_Group_c object and master-detail field on order_shipment_Group_c

Buy Now
Questions 41

Universal Container wants Opportunities to no longer be editable when itreaches the Closed/Won stage. Which two strategies can a developer use to accomplish this?

Choose2 answer

Options:

A.

Use a validation

B.

Use a trigger

C.

Use an after-save flow.

D.

Use the Process Automation settings.

Buy Now
Questions 42

A developer wrote Apex code that calls out to an external system. How should a developer write the test to provide test coverage?

Options:

A.

Write a class that extends HTTPCalloutMock.

B.

Write a class that implements the HTTPCalloutMock interface.

C.

Write a class that implements the WebserviceMock interface.

D.

Write a class that extends WebserviceMock

Buy Now
Questions 43

What are three considerations when using the @InvocableMethod annotation in Apex?

Choose 3 answers

Options:

A.

A method using the @InvocableMethod annotation must define a return value.

B.

A method using the @InvocableMethod annotation can have multiple input parameters.

C.

A method using the @InvocableMethod annotation must be declared as static

D.

A method using the @InvocableMethod annotation can be declared as Public or Global.

E.

Only one method using the @InvocableMethod annotqation can be defined per Apex class.

Buy Now
Questions 44

How does the Lightning Component framework help developers implement solutions faster?

Options:

A.

By providing an Agile process with default steps

B.

By providing code review standards and processes

C.

By providing device-awareness for mobile and desktops

D.

By providing change history and version control

Buy Now
Questions 45

Which aspect of Apex programming is limited due to multitenancy?

Options:

A.

The number of active Apex classes

B.

The number of methods in an Apex Class

C.

The number of records processed in a loop

D.

The number of records returned from database queries

Buy Now
Questions 46

A developer needs to create a baseline set of data (Account, Contacts, Products, Assets) for an entire suite allowing them to test independent requirements for various types of Salesforce Cases.

Which approach can efficiently generate the required data for each unit test?

Options:

A.

Use &TestSteup with a void method.

B.

Create test data before Test.startTest in the unit test.

C.

Create a mock using the Stub APL.

D.

Add $ IsTest (seeAllDatatrue) at the start of the unit test class.

Buy Now
Questions 47

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?

Options:

A.

AppExchange

B.

Salesforce CLI

C.

Visual Studio Core IDE

D.

Developer Console

Buy Now
Questions 48

A Next Best Action strategy uses an Enhance element that invokes an Apex method to determine a discount level for a Contact, based on a

number of factors.

What is the correct definition of the Apex method?

Options:

A.

B.

C.

D.

Buy Now
Questions 49

Which code in a Visualforce page and/or controller might present a security vulnerability?

Options:

A.

B.

C.

D.

Buy Now
Questions 50

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 class, BodyFat, and its method, calculateBodyFat(). The product owner wants to ensure this method is accessible by the consumer of the application when developing customizations outside the ISV’s package namespace.

Which approach should a developer take to ensure calculateBodyFat() is accessible outside the package namespace?

Options:

A.

Declare the class and method using the public access modifier.

B.

Declare the class as global and use the public access modifier on the method.

C.

Declare the class as public and use the global access modifier on the method.

D.

Declare the class and method using the global access modifier.

Buy Now
Questions 51

A developer is creating a page that allows users to create multiple Opportunities. The developer is asked to verify the current user's default } |

Opportunity record type, and set certain default values based on the record type before inserting the record.

How can the developer find the current user's default record type? ns

Options:

A.

Query the Profile where the ID equals userInfo.getProfileID() and then use the profile.Opportunity.getDefaultRecordType() | |method. ] |

B.

Use Opportunity. SObjectType.getDescribe().getRecordTypelnfos() to get a list of record types, and iterate through them until [ J

isDefaultRecordTypeMapping() is true. Pencil & Paper |

C.

Use the Schema.userlnfo.Opportunity.getDefaultRecordType() method. <

Create the opportunity and check the opportunity.recordType before inserting, which will have the record ID of the current Dal user's default record type.

Buy Now
Questions 52

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 Contact's Edit button and provide this functionality?

Options:

A.

A Visualforce page in Salesforce Classic and a Lightning component in Lightning Experience

B.

A Lightning component in 5alesforce Classic and a Lightning component in lightning Experience

C.

A Visualforce page in Salesforce Classic and a Lightning page in Lightning Experience

D.

A Lightning page in Salesforce Classic and a Visualforce page in Lightning Experience

Buy Now
Questions 53

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

Options:

A.

Validation rule

B.

After record-triggered flow

C.

Apex trigger

D.

Before record-triggered flow

Buy Now
Questions 54

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?

Options:

A.

B.

C.

D.

Buy Now
Questions 55

Universal Containers recently transitioned from Classic to Lighting Experience. One of its business processes requires certain value from the opportunity object to be sent via HTTP REST callout to its external order management system based on a user-initiated action on the opportunity page. Example values are as follow

  • Name
  • Amount
  • Account

Which two methods should the developer implement to fulfill the business requirement? (Choose 2 answers)

Options:

A.

Create a Lightning component that performs the HTTP REST callout, and use a Lightning Action to expose the component on the Opportunity detail page.

B.

Create a Process Builder on the Opportunity object that executes an Apex immediate action to perform the HTTP REST callout whenever the Opportunity is updated.

C.

Create an after update trigger on the Opportunity object that calls a helper method using @Future(Callout=true) to perform the HTTP REST callout.

D.

Create a Visualforce page that performs the HTTP REST callout, and use a Visualforce quick action to expose the component on the Opportunity detail page.

Buy Now
Questions 56

What are two characteristics related to formulas?

Choose 2 answers

Options:

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.

Buy Now
Questions 57

Which code statement includes an Apex method named updateaccounts in the Class AccountCont rolles for use in a Lightning web component?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 58

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.

External ID and Unique

C.

Lookup

D.

Indirect Lookup

Buy Now
Questions 59

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

Options:

A.

Sharing rules will not be enforced for the running user.

B.

Sharing rules will be Inherited from the calling context.

C.

Sharing rules will be enforced by the instantiating class.

D.

Sharing rules will be enforced for the running user.

Buy Now
Questions 60

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

Choose 3 answers

Options:

A.

SVG resources

B.

Third-party web components

C.

Content asset files

D.

Static resources

E.

All external libraries

Buy Now
Questions 61

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?

Options:

A.

@RemoteAction

B.

@AureEnabled

C.

@AureEnabled (cacheable=true)

D.

@RemoteAction(|cacheable=true)

Buy Now
Questions 62

Universal Containers wants a list button to display a Visualforce page that allows users to edit multiple records.

Which Visualforce feature supports this requirement?

Options:

A.

B.

C.

D.

Buy Now
Questions 63

Which three resources in an Aura component can contain JavaScript functions? Choose 3 answers

Options:

A.

Renclerer

B.

Style

C.

Helper

D.

Controller

E.

Design

Buy Now
Questions 64

A developer observes that an Apex test method fails in the Sandbox. To identify the issue, the developer copies the code inside the test method and executes it via the Execute Anonymous tool in the Developer Console. The code then executes with no exceptions or errors. Why did the test method fail in the sandbox and pass in the Developer Console?

Options:

A.

The test method has a syntax error in the code.

B.

The test method relies on existing data in the sandbox.

C.

The test method is calling an @future method.

D.

The test method does not use System.runAs to execute as a specific user.

Buy Now
Questions 65

What should a developer use to script the deployment and unit test execution as part of continuous integration?

Options:

A.

Developer Console

B.

Execute Anonymous

C.

Salesforce CLI

D.

VS Code

Buy Now
Questions 66

While working in a sandbox, an Apex test fails when run in the Test Runner. However, executing the Apex logic in the Execute Anonymous window succeeds with no exceptions or errors.

Why did the method fail in the sandbox test framework but succeed in the Developer Console?

Options:

A.

The test method has a syntax error In the code.

B.

The test method does not use System. rurAs to execute as a specific user.

C.

The test method Is calling an future method.

D.

The test method relies on existing data in the sandbox.

Buy Now
Questions 67

An org has an existing Flow that creates an Opportunity with an Update Records element. A developer update the Flow to also create a Contact and store the created Contact's ID on the Opportunity.

Which update should the developer make in the Flow?

Options:

A.

Add a new Get Records element.

B.

Add a new Update Records element.

C.

Add a new Quick Action element(of type Create).

D.

Add a new Create Records element.

Buy Now
Questions 68

A developer wants to mark each Account in a List as either or Inactive based on the LastModified field value being more than 90 days.

Which Apex technique should the developer use?

Options:

A.

A for loop, with a switch statement inside

B.

A Switch statement, with a for loop inside

C.

An If/else statement, with a for loop inside

D.

A for loop, with an if/else statement inside

Buy Now
Questions 69

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

Options:

A.

Production

B.

Dev Hub

C.

Environment Hub

D.

Sandbox

Buy Now
Questions 70

A developer wants to invoke on outbound message when a record meets a specific criteria.

Which three features satisfy this use case?

Choose 3 answer

Options:

A.

Approval Process has the capacity to check the record criteria and send an outbound message without Apex Code

B.

Process builder can be used to check the record criteria and send an outbound message with Apex Code.

C.

workflows can be used to check the record criteria and send an outbound message.

D.

Process builder can be used to check the record criteria and send an outbound messagewithout Apex Code.

E.

Visual Workflow can be used to check the record criteria and send an outbound message without Apex Code.

Buy Now
Exam Code: CRT-450
Exam Name: Salesforce Certified Platform Developer I (SP23)
Last Update: Apr 26, 2024
Questions: 235
CRT-450 pdf

CRT-450 PDF

$28  $80
CRT-450 Engine

CRT-450 Testing Engine

$33.25  $95
CRT-450 PDF + Engine

CRT-450 PDF + Testing Engine

$45.5  $130