
Salesforce Platform Developer II
Quiz
•
Other
•
Professional Development
•
Practice Problem
•
Easy
Von Vibar
Used 14+ times
FREE Resource
Enhance your content in a minute
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
148 questions
My Review Question
Quiz
•
Professional Development
144 questions
Binary Tree Quiz
Quiz
•
Professional Development
140 questions
CSKH căn hộ
Quiz
•
Professional Development
146 questions
Quiz về Giáo dục Y khoa dựa trên năng lực
Quiz
•
Professional Development
150 questions
VOCABULARY ONLINE_PREP. CLASS
Quiz
•
Professional Development
150 questions
Understanding Ohm's Law and Circuits
Quiz
•
Professional Development
140 questions
Mapping Assessment Crane Operator I
Quiz
•
Professional Development
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Other
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
25 questions
Christmas Movies
Quiz
•
Professional Development
20 questions
Christmas Trivia
Quiz
•
Professional Development
15 questions
Fun Holiday Trivia
Quiz
•
Professional Development
25 questions
Name That Tune - Christmas
Quiz
•
Professional Development
29 questions
Christmas Song Emoji Pictionary
Quiz
•
Professional Development
9 questions
Holiday Movie Trivia
Lesson
•
Professional Development
34 questions
Winter Trivia
Quiz
•
Professional Development
