Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ecus65

Salesforce CRT-450 - Salesforce Certified Platform Developer 1 (SP25)

Page: 2 / 7
Total 204 questions

What does the Lightning Component framework provide to developers?

A.

Support for Classic and Lightning UIs

B.

Prebuilt components that can be reused

C.

Templates to create custom components

D.

Extended governor limits for applications

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

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

A.

@isTest above line 03.

B.

Add @istest above line 01.

C.

Change public to private on line 01.

D.

Remove static from line 03.

While writing an Apex class, a developer wants to make sure that all functionality being developed is handled as specified by the requirements.

Which approach should the developer use to be sure that the Apex class is working according to specifications?

A.

Include a savepoint and pacabase.rollback().

B.

Include a try/catch block to the Apex class.

C.

Run the code in an Execute Anonymous block in the Developer Console.

D.

Create a test class to execute the business logic and run the test in the Developer Console.

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

A.

Use the ApextestResult class.

B.

Use the Flow Properties page.

C.

Use SOQL and the Tooling API.

D.

Use the Code Coverage Setup page,

A developer must perform a complex SOQL query that joins two objects in a Lightning component.

How can the Lightning component execute the query?

A.

Write the query in a custom Lightning web component wrapper and invoke from the Lightning component.

B.

Invoke an Apex class with the method annotated as @AuraEnabled to perform the query.

C.

Use the Salesforce Streaming APL to perform the SOQL query.

D.

Create a flow to execute the query end invoke from the Lightning component.

How is a controller and extension specified for a custom object named "Notice" on a Visualforce page?

A.

apex:page standardController="Notice_c" extensions="myControllerExtension"”

B.

apex:page controllers="Notice_c, myContcollerExtension"

C.

apex:pege=Notice extends="myControllerExtension”

D.

apex:page controller="Notice_c" extensions="myControllerExtension"

Which Apex class contains methods to return the amount of resources that have been used for a particular governor, such as the number of DML statements?

A.

OrgLimits

B.

Limits

C.

Messaging

D.

Exception

What should be used to create scratch orgs?

A.

Salesforce CLI

B.

Sandbox refresh

C.

Developer Console

D.

Workbench

Universal Containers has a support process that allows users to request support from its engineering team using a custom object,

Engineering Support c.

Users should be able to associate multiple Engineering Support __c records to a single Opportunity record. Additionally, aggregate information

about the Engineering Support _c records should be shown on the Opportunity record.

Which relationship field should be implemented to support these requirements?

A.

Lookup field from Opportunity to Engineering _support__c

B.

Master-detail field from Engineering Support__c to Opportunity

C.

Master-detail field from Opportunity to Engineering Support__c

D.

Lookup field from Engineering Support __c to Opportunity

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?

A.

Waterfall Model

B.

Flux (view, action, dispatcher, and store)

C.

Model-View-Controller (MVC)

D.

Agile Development