
Salesforce PD2 - Review 1

Quiz
•
Computers
•
Professional Development
•
Easy
rachel laurete
Used 35+ times
FREE Resource
56 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A Visualforce page loads slowly due to the large amount of data it displays
Which strategy can a developer use to improve the performance?
Use the transient keyword for the List variables used in the custom controller.
Use JavaScript to move data processing to the browser instead of the controller.
Use an <apex:actionPoller> in the page to load all of the data asynchronously.
Use lazy loading to load the data on demand, instead of in the controller's contructor.
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
After a Platform Event is defined in a Salesforce org, events can be published via which two mechanisms ?
Choose 2 answers
Internal Apps can use Outbound Messages
Internal Apps can use Process Builder
External Apps require the standard Streaming API.
External Apps use an API to publish event messages.
3.
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 ?
Aura Components
Lightning Web Components
Visualforce
Lightning Experience Builder
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Universal Containers wants to use an external Web Service provided by a third-party vendor to validate the shipping and billing addresses are correct. The current vendor uses basic password authentication, but Universal Containers might switch to a different vendor who uses OAuth.
Which approach follows best practices and allows Universal Containers to switch vendors without updating the code to handle authentication?
Custom Setting (List)
Named Credential
Custom Metadata
Dynamic Endpoint
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which code statement includes an Apex method named updateAccounts in the class AccountController for use in a Lightning Web component?
import updateAccounts from '@salesforce/apex/AccountController';
import updateAccounts from 'AccountController';
import updateAccounts from 'AccountController.updateAccounts';
import updateAccounts from '@salesforce/apex/AccountController.updateAccounts';
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is considered a best practice for writing bulk safe Apex Triggers?
Add records to collections and perform DML operations against these collections.
Perform all DML operations from within a Future Method.
Instead of DML statements, use the Database methods with allOrNone set to False.
Add LIMIT 50000 to every SOQL statement,
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Universal Containers has an existing automation where a custom record called Account Plan is created upon an Account being marked as a Customer. Recently, a Workflow Rule was added so that whenever an Account is marked as a Customer, a 'Customer Since' date field is update with today's date.
Now, since the addition of the Workflow Rule, two Account Plan records are created whenever the Account is marked as a Customer.
What might cause this to happen ?
The Apex Trigger responsible for the record creation does not use a static variable to ensure it only fires once.
The Process Builder responsible for the record creation fires before and after the Workflow rule.
The Workflow Rule responsible for the record creation fires twice because the 'Customer Since' field Update is marked as 'Re-evaluate Workflow Rules After Field Change'.
The Apex Trigger responsible for the record creation is not bulk safe and calls Insert of a for loop
Create a free account and access millions of resources
Similar Resources on Wayground
52 questions
DB Specialty - All Questions

Quiz
•
Professional Development
60 questions
Java

Quiz
•
Professional Development
55 questions
Computer Hardware Quiz

Quiz
•
Professional Development
52 questions
GM Calibration

Quiz
•
Professional Development
52 questions
CCNA 2 v7 Practice Test (Pt. 3)

Quiz
•
Professional Development
55 questions
Microsoft Azure Fundamentals AZ-900 ENG #1

Quiz
•
University - Professi...
60 questions
CLTECH

Quiz
•
Professional Development
56 questions
polymorphism + java-visual

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development