Salesforce Platform Developer II

Salesforce Platform Developer II

Professional Development

145 Qs

quiz-placeholder

Similar activities

Mock Test_5-11_Plane and Solid Geometry

Mock Test_5-11_Plane and Solid Geometry

Professional Development

140 Qs

Law Section Numbers

Law Section Numbers

Professional Development

144 Qs

LINDEBURG ESAS Terms Compilation PART 1 TO 12

LINDEBURG ESAS Terms Compilation PART 1 TO 12

Professional Development

144 Qs

CBIC EXAM

CBIC EXAM

Professional Development

150 Qs

3rd Pre-board/ General Education/ 150 items

3rd Pre-board/ General Education/ 150 items

Professional Development

150 Qs

Mock Test_5-11_TTL2-Math

Mock Test_5-11_TTL2-Math

Professional Development

150 Qs

TATA Quizz

TATA Quizz

Professional Development

140 Qs

VOCABULARY ONLINE_PREP. CLASS

VOCABULARY ONLINE_PREP. CLASS

Professional Development

150 Qs

Salesforce Platform Developer II

Salesforce Platform Developer II

Assessment

Quiz

Other

Professional Development

Easy

Created by

Von Vibar

Used 14+ times

FREE Resource

145 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A company has a custm object, Order__c, that has a required, unique external ID field called Order_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?

upsert orders Order_Number__c;

upsert orders;

merge orders;

merge orders Order_Number__c

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An Apex class does not achieve expected code coverage. The testSetup method explicitly calls a method in the Apex class.

How can the developer generate the code coverage?

Add $testVisible to the method in the class the developer is testing.

Verify the user has permissions passing a user into the System.runAs().

Call the Apex class method from a testMethod instead of the testSetup method.

Use system.assert() in testSetup to verify the values are being returned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method should be used to convert a Date to a String in the current user's locale?

Date.parse

Date.format

String.format

String.valueOf

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

A developer is tasked with creating a Lightning web component that allows users to create a Case for a selected product, directly from a custom Lightning page. The input fields in the component are displayed in a non-linear fashion on top of an image of the product to help the user better understand the meaning of the fields.

Which two components should a developer use to implement the creation of the Case from the Lightning web component?

Choose 2 answers

lightning-record-edit-form

lightning-input

lightning-record-form

lightning-input-field

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ursa Major Solar has a custom object, ServiceJob__c, with an optional Lookup field to Account called Partner_Service_Provider__c.

The TotalJobs__c field on Account tracks the total number of ServiceJob__c records to which a partner service provider Account is related.

What is the most efficient way to ensure that the Total_Jobs__c field is kept up to date?

Create a record-triggered flow on Service_Job_c.

Change TotalJobs__c to a roll-up summary field.

Create a schedule-triggered flow on Service_Job__c.

Create an Apex trigger on ServiceJob__c.

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What are three reason that a developer should write Jest tests for Lightning web component?

Choose 3 answers

To verify that events fire when expected

To test basic user interaction

To verify the DOM output of a component

To test how multiple components work together

To test a component's non-public properties

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

As part of a custom development, a developer creates a Lightning component to show how a particular opportunity progresses over time. The component must display the date stamp when any of the following fields change:

  • - Amount, Probability, Stage, or Close Date

  • How should the developer access the data the must be displayed?

Create a custom date field on Opportunity for each field to track the previous date and execute a SOQL query for date field.

Execute a SOQL query for Amount, Probability, Stage, and Close Date on the OpportunityHistory object.

Subscribe to the OpportunityHistory Change Data Capture event in the Lightning component.

Subscribe to the Opportunity Change Data Capture event in the Lightning component

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?