
Salesforce PD2 - Review 3
Quiz
•
Computers
•
Professional Development
•
Easy
rachel laurete
Used 21+ times
FREE Resource
Enhance your content in a minute
60 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A company has a custom 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?
upsert orders;
upsert orders Order_Number__c;
merge orders Order_Number__c;
merge orders;
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?
Verify the user has permissions passing a user into System.runAs().
Call the Apex class method from a testMethod instead of the testSetup method.
Add @testVisible to the method in the class the developer is testing.
Use system.assert() in testSetup to verify the values are being returned.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to communicate the new value of a property named "passthrough" to my-parent-component if the property is defined within
my-child-component?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A lead developer for a Salesforce organization needs to develop a page-centric application that allows the user to interact with multiple objects related to a Contact. The application needs to implement a third-party JavaScript framework such as Angular, and must be made available in both Classic and Lightning Experience.
Given these requirements, what is the recommended solution to develop the application ?
Lightning Experience Builder
Aura Components
Visualforce
Lightning Web Components
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Users upload .csv file in an external system to create account and contact records in Salesforce. Up to 200 records can be created at a time. The users need to wait for a response from Salesforce in the external system, but the data does not need to synchronize between the two systems.
Base on these requirements, which method should a developer use to create the records in Salesforce?
REST API request using composite/batch/
REST API request using composite/tree/
Apex web services
Bulk API 2.0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the controller code above that is called from a Lightning component and returns data wrapped in a class.
The developer verified that the Queries return a single record each and there is error handing in the Lightning component, but the component is not getting anything back when calling the controller getSomeData().
What is wrong?
Instances of Apex classes such as MyDataWrapper cannot be returned to a Lightning component.
The member's Name and Option should not have getter and setter.
The member's Name and Option of the class MyDataWrapper should be annotated with @AuraEnabled too.
The member's Name and Option should not be declared public.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method should be used to convert Date to a String in the current user's locale?
Date.parse
Date.format
String.format
String.valueOf
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
61 questions
EMPLOYABILITY SKILL UNIT 1 & 2
Quiz
•
Professional Development
60 questions
สอบปลายภาควิชาหลักการคิดเชิงออกแบบและนวัตกรรมธุรกิจดิจิทัล
Quiz
•
Professional Development
55 questions
PROJECT QUALITY MANAGMENT SYSTEM MIDTERM EXAM
Quiz
•
Professional Development
55 questions
Microsoft Azure Fundamentals AZ-900 ENG #4
Quiz
•
University - Professi...
62 questions
Security+ Phase 6
Quiz
•
Professional Development
60 questions
ccna 3 F3
Quiz
•
Professional Development
55 questions
Selected_CCNA_Topics_Quiz
Quiz
•
Professional Development
63 questions
1101-TroyTech
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween
Quiz
•
Professional Development
16 questions
Spooky Season Quiz
Quiz
•
Professional Development
5 questions
11.4.25 Student Engagement & Discourse
Lesson
•
Professional Development
50 questions
ASL Colors and Clothes
Quiz
•
KG - Professional Dev...
15 questions
Ohms Law
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
