Returns a list of the new versions of the sObject records. This sObject list is available in insert,
update triggers, and the records can only be modified in before triggers.
APEX Sessions Quiz 7
Quiz
•
M Salman
•
Professional Development
•
1st Grade
•
2 plays
•
Easy
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Returns a list of the new versions of the sObject records. This sObject list is available in insert,
update triggers, and the records can only be modified in before triggers.
True
False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trigger.New holds a map of IDs to the new versions of the sObject records.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trigger.Old holds a map of IDs to the Old versions of the sObject records.
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one from the following is not a valid Context Variable in triggers.
Trigger.isInsert
Trigger.isUpdate
Trigger.isBefore
Trigger.isMiddle
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A trigger should be able to handle single record and thousands of record. This approach is called ?
Bulkifying trigger
Single Record trigger
NoneOfThem
6.
MULTIPLE CHOICE QUESTION
45 sec • 4 pts
A developer wishes to iterate over a list of records returned from a query, which of the following loop type is most appropriate?
Do While Loop
SOQL For Loop
While Loop
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When the opportunity stage is changed to ClosedWon. Send the email to the admin. Which Event Type will be used from the following
before insert
before update
after insert
after update
8.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Write a trigger on the Lead Object. Which one is the correct syntax from the following?
trigger leadTrigger on Lead (before insert){
}
leadTrigger on Lead (before insert)
trigger on Lead leadTrigger (before insert){
}
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method to use from the following. To find the count of number of elements in the List.
Size()
Length()
Count()
10.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if trigger is fired due to an insert operation. which one from the following will return true?
Trigger.isInsert
Trigger.isUpdate
Trigger.isDelete
Explore all questions with a free account
12 questions
DBMS QUIZ 2
Quiz
•
1st - 12th Grade
15 questions
Marketing & Sales
Quiz
•
1st - 3rd Grade
6 questions
la gestion électronique des données (classement)
Quiz
•
1st - 3rd Grade
10 questions
Instant Messaging Quiz
Quiz
•
1st Grade
10 questions
Python Marathon (Easy Round)
Quiz
•
1st - 6th Grade
12 questions
AM Game
Quiz
•
1st - 12th Grade
10 questions
Running Records Review
Quiz
•
KG - 4th Grade
7 questions
FTL TRACKING
Quiz
•
1st Grade
17 questions
CAASPP Math Practice 3rd
Quiz
•
3rd Grade
15 questions
Grade 3 Simulation Assessment 1
Quiz
•
3rd Grade
20 questions
math review
Quiz
•
4th Grade
19 questions
HCS Grade 5 Simulation Assessment_1 2425sy
Quiz
•
5th Grade
16 questions
Grade 3 Simulation Assessment 2
Quiz
•
3rd Grade
21 questions
6th Grade Math CAASPP Practice
Quiz
•
6th Grade
13 questions
Cinco de mayo
Interactive video
•
6th - 8th Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade